To do so, you would need to upgrade it. I know I am being a smartaleck when I say this, but it won't upgrade on its own and it won't upgrade just because you upgraded "just" PHP itself. PHP only reads what the version is from what you have installed, not something that is internal to PHP itself. So if you upgrade your mysql, it will show you a different version when you run your phpinfo. Here is an rpm -qa result from one of my machines:
[root]# rpm -qa|grep mysql
php-mysql-4.3.2-14.ent
mysql-server-3.23.58-1
libdbi-dbd-mysql-0.6.5-5
mysql-devel-3.23.58-2.3
mysql-3.23.58-2.3
My phpinfo client API shows: 3.23.58
Which would be because that is the version of mysql that I am running. My mysql, mysql-server and mysql-devel are all 3.23.58. Only my php-mysql module is 4.3.2-14
No, this is not the case. If you install with RPM, or you compile from source and only use --with-mysql, the client API is going to be whatever was bundled with PHP at the time. Update your MySQL version, and you're phpinfo will still show the 3.23.58 client library. The only way to change this in PHP4 is to configure and compile php with the version of MySQL _you_ have installed....otherwise, it will use the bundled MySQL client.
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@xxxxxxxxxxxx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php