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