PDA

View Full Version : MYSQL Client API for PHP still "out of date"


dleigh
3-26-09, 12:05 PM
There are two threads from fall of 2007 discussing the discrepency of versions between MYSQL and PHP's MYSQL Client API.

http://forum.powweb.com/showthread.php?t=77358&highlight=mysql+client+version+php
http://forum.powweb.com/showthread.php?t=76846&highlight=mysql+client+version+php

I'm trying to install an application (http://lundimatin.fr) which does a check on the MYSQL version using the mysql_get_client_info PHP function. It returns NOT the version of MYSQL installed (heck that's on a different server anyway), but the version of the client api. This application, though, is choaking on that, saying that it needs MYSQL 5 at least.

So, I re-launch the question:

Will POWWEB be syncronizing the api version with the MYSQL version soon?
If so when?
If not, why not?

And, short of hacking the script (might do it anyway), is there a way to "point" "my" copy of PHP here at POWWEB to a different client api? I'm guessing not, but it can't hurt to ask.

Thanks!

Dbrazzell
3-26-09, 06:14 PM
You know I hadn't realized it was this way.

Ill start asking around and see if we can get this changed. Its a bit difficult to change things like this since although it seems like a small change it affects ALL of our customers.

If there was a bug in the old version that someone has just come to rely on as a "feature" and we break there site...

Will need to go through the changelog and evaluate what has changed and see what the implications might be

dleigh
3-27-09, 01:38 AM
Thanks for looking into it...while you're at it, I discovered another little PHP "goodie" with respect to MYSQL that I didn't even know existed. I threw it in another forum post last night when I realized it. It's called PHP Data Objects and it's a series of database platform-specific drivers for PHP that create a homogenized way of accessing heterogeneous databases.

It IS installed at POWWEB...but ONLY for SQLite. PDO exists for MYSQL, but it needs to be installed. So...pretty please?!
Thanks!