i used this configuration when i installed php-5.0.5
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
but when i compiled with make command the result is:
--- some codes here ---
ext/mysql/php_mysql.lo(.text+0x2076): In function zif_mysql_create_db':
/home/php/php-5.0.5/ext/mysql/php_mysql.c:1169: undefined reference tomysql_create_db'
ext/mysql/php_mysql.lo(.text+0x2279): In function zif_mysql_drop_db':
/home/php/php-5.0.5/ext/mysql/php_mysql.c:1211: undefined reference tomysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
i already installed mysql rpm packages using
MySQL-shared-4.1.14-0.i386.rpm
MySQL-devel-4.1.14-0.i386.rpm
MySQL-client-4.1.14-0.i386.rpm
MySQL-server-4.1.14-0.i386.rpm
i then reconfigured php using
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-pgsql=/usr
and it compiled using the make and make install commands
likewise, i followed the instructions in the installation manual.
i created a php page with <?php phpinfo(); ?>
but the browser does not show any information about mysql.
there is pgsql info but not mysql. is the mysql supported or linked to php?
thanks for any help.
raport