Question about install PHP4 with MySQL 3.23.53
| From: | UMC-Student) | Date: | Wed, 30 Oct 2002 04:27:20 +0000 |
| Subject: | Question about install PHP4 with MySQL 3.23.53 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8967@lists.php.net to get a copy of this message | ||
Hi,
I am trying to install php4.2.3 with the support of MySQL. I use rpm to install Mysql as following:
rpm -i MySQL-3.23.53a-1.i386.rpm
rpm -i MySQL-client-3.23.53a-1.i386.rpm
rpm -i MySQL-devel-3.23.53a-1.i386.rpm
rpm -i MySQL-shared-3.23.53a-1.i386.rpm
MySQL was automatically installed to many directories like /usr/bin, /usr/include, /usr/lib, ....
Now when I try to install PHP4.2.3 with the following command:
./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/??? --prefix=/usr/local/php
I always get the information : can't find header files under /???. I have tried
/usr/include/mysql and so on. No one seems to work. Does any one has any idea which file php needs?
Is there a way to solve this without reinstall MySQL? Or how do I use rpm to specify the location
(say /usr/local/mysql) to install those rpms?
Your help will be highly appreciated!
Jaleen