I am using RH9 and am using the complete PHP source code php-4.3.7.tar.gz from
http://www.php.net/downloads.php directly. So how can I get my mysql.so file?
When I do locate mysql.h , I do see the file in several locations :
/root/php-4.3.7/ext/dbx/dbx_mysql.h
/root/php-4.3.7/ext/mysql/php_mysql.h
/root/php-4.3.7/ext/mysql/libmysql/mysql.h
/root/mysql-standard-4.0.20-pc-linux-i686/include/mysql.h
/usr/include/mysql/mysql.h
I tried doing ./configure --with-mysql= with the three directories where mysql.h exists (i.e. /root/php-4.3.7/ext/mysql/libmysql/ , /root/mysql-standard-4.0.20-pc-linux-i686/include/ and /usr/include/mysql/ ) However, the same "configure: error: Cannot find MySQL header files under ...." error message still keeps coming up.
Thanks for helping me