> I installed PHP 4.3.1 via source and used the following option when > configuring: > > ./configure --with-mysql > > The database has worked great for a couple of years, however I noticed a > problem today. > > Phpinfo() returns MySQL Version 3.23 from a php script. > > Client API version 3.23.49 > MYSQL_MODULE_TYPE builtin > MYSQL_SOCKET /var/lib/mysql/mysql.sock > MYSQL_INCLUDE no value > MYSQL_LIBS no value > > However, issuing 'mysql -V' at the command line returns version 4.0.1. > > > So I assume the version of MySQL bundled with PHP 4.3.1 is in fact 3.23.49 > and this is overriding my standalone installation. > > Without recompiling, is there a way to upgrade the bundled client?
I need to restate my question to the list. First of all, is there a config file that tells PHP where to look for MySQL client files? If not, and I need to recompile PHP, how should I phrase my configuration option to use the standalone MySQL installation (now upgraded to 4.1.5 GA)? % ./configure --with-mysql=/what/directory/do/I/path/to?/ --with-apache=../apache-1.3.29 --with-informix=/opt/Informix 'mysql' is located in /usr/bin - is that the obvious answer? Thanks much. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]