Page 1 of 1

PHP MySQL client version

Posted: Sat Jul 21, 2007 7:26 pm
by cabbage
I have a Plesk 8.1 install on a CentOS box. Following the directions on this site, I've upgraded to PHP 5.2.3 and MySql 5.0.22.

Everything's great--BUT my PHP mySQL client is still 4.1.12. How do I get PHP to work with the 5.0 client?

Thanks for maintaining this site, it's been a great help to me.

cabbage

Posted: Sun Jul 22, 2007 12:34 pm
by scott
If youre seeing that in the control panel (like in phpmyadmin) thats to be expected, the PSA php is linked against the native mysql client.

If its on your websites (in phpinfo), then it might just be because you haven't restarted httpd yet.

Posted: Sun Jul 22, 2007 1:27 pm
by cabbage
I see the wrong client version in the phpinfo on my site and inside of Plesk (in the PHPmyAdmin). I've restarted the apache and the box several times but it still comes up with the wrong client version. Is there any other information I can offer that would give anybody a clue as to what may be happening?

Thanks!

Posted: Sun Jul 22, 2007 8:08 pm
by scott
OK, thats expected behavior then.