RE: PHP reports 3.23.49, command line reports 4.0.1

2004-09-23 Thread Stembridge, Michael
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

Re: PHP reports 3.23.49, command line reports 4.0.1

2004-09-23 Thread Paul Fierro
On 09/23/2004 9:37 AM, Stembridge, Michael [EMAIL PROTECTED] wrote: 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

RE: PHP reports 3.23.49, command line reports 4.0.1

2004-09-23 Thread Stembridge, Michael
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. It's not overriding anything, it's doing what you asked: in your configure you told PHP to use its built-in (MYSQL_MODULE_TYPE) MySQL support. Without

Re: PHP reports 3.23.49, command line reports 4.0.1

2004-09-23 Thread Friedhelm Betz
Stembridge, Michael wrote: 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. It's not overriding anything, it's doing what you asked: in your configure you told PHP to use its built-in (MYSQL_MODULE_TYPE) MySQL support.

Re: PHP reports 3.23.49, command line reports 4.0.1

2004-09-23 Thread Paul Fierro
On 09/23/2004 11:11 AM, Stembridge, Michael [EMAIL PROTECTED] wrote: Without recompiling, is there a way to upgrade the bundled client? No - I believe you need to recompile PHP (this path assumes an RPM installation of MySQL): Yes, MySQL is installed via RPM. So, when I recompile PHP I