Re: PHP info: MySQL client API version: 3.23?
| From: | Steve Buehler | Date: | Wed, 24 Nov 2004 17:25:19 +0000 |
| Subject: | Re: PHP info: MySQL client API version: 3.23? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202771@lists.php.net to get a copy of this message | ||
At 10:59 AM 11/24/2004, you wrote:
On Wed, 24 Nov 2004 10:37:19 -0600, Steve Buehler <steve@ibapp.com> wrote: At 07:38 AM 11/24/2004, you wrote:I have already been corrected on what I said. I guess you learn something new and different every day. Anyway, John Nichel did the correction. You might want to read his email. I didn't think it worked that way, but maybe I am wrong....I usually am. :) SteveIn the phpinfo() output, the MySQL client API version is shown as 3.23.49. Shouldn't this be upgraded to 4.1 (generally available/stable)?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 But on a up2date Debian Linux Sarge server with MySQL 4.0 and PHP 4.3.9, it still shows 3.23.56 On a Windows XP server with MySQL 4.1 and PHP 4.3.10 (RC1) it shows 3.23.49. So what exactly do I need to upgrade?