note 35175 added to install.apache
| From: | InterNic at rack1 dot php dot net | Date: | Fri, 22 Aug 2003 09:39:53 +0000 |
| Subject: | note 35175 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54854@lists.php.net to get a copy of this message | ||
apache 2.0.43
php 4.2.3
MySQL 3.23.51
bash-2.05a# cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib/mysql
bash-2.05a#ldconfig
---
I was trying to install php with external MySQL support, not with the built-in, but the configure
script couldn't find the library files for mysql:
./configure --with-apxs2 --with-regex --with-mysql=/usr/lib/mysql
checking return type of qsort... (cached) void
configure: error: Cannot find header files under /usr/lib/mysql
--with-mysql=/usr/include/mysql/ and /usr/local/lib/mysql/ got the same problems.
The solution was the following: --with-mysql=/usr
---
I just thought this would be useful for someone trying ti rip out that built-in mysql.
----
Manual Page -- http://www.php.net/manual/en/install.apache.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35175
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35175&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35175&report=yes