Page 1 of 1

PHP doesn't support MySQL 5.1.30?

Posted: Sun Dec 21, 2008 12:56 pm
by MatuX
Hey!

I hope someone can help me out here, I'm having this error:

Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.30. This may cause unpredictable behavior.

When I try to replace the PHP MySQL DLL with the MySQL 5.1.30 DLL, it throws a humongous red "ERROR" (white font, red background) Message saying:

phpMyAdmin - Error (it is not a phpMyAdmin issue)
Cannot load mysqli extension. Please check your PHP configuration. - Documentation

If I go back to the old 5.0.51a version, things go fine again.

Doing some research I ended up finding out PHP doesn't support MySQL 5.1.30, though there is a php_mysql.dll around that says its compatible with MySQL 5.1.30 DLL.

But I need to use php_mysqli.dll.

Does anyone have any idea what can I do to solve this?

Edit:
I also tried downloading the latest PHP RC, but the Windows Installer throws an error while installing. I also don't know if this may prove a true solution.

Re: PHP doesn't support MySQL 5.1.30?

Posted: Mon Dec 22, 2008 4:46 pm
by acidweb
yes,ehat is the server in php runing?

Re: PHP doesn't support MySQL 5.1.30?

Posted: Tue Dec 23, 2008 1:24 pm
by MatuX
I didn't quite understand your question.

Apache, MySQL, PHP and phpMyAdmin are all running in the computer. I've been using it like this for a while and I haven't found any errors, though I'm concerned something may get screwed up because of the differences in the version.

Re: PHP doesn't support MySQL 5.1.30?

Posted: Tue Dec 23, 2008 10:11 pm
by Syntac
Ignore his question. It appears to be about eHats.

Do you have any log files?

Re: PHP doesn't support MySQL 5.1.30?

Posted: Fri Dec 26, 2008 8:09 am
by MatuX
Oh I didn't get his question :)

No its not e-Hats. The server is a Windows XP, final server will be a Windows Server or a Linux, probably.

Nope, no logs. I tried again today replacing the 5.0.57a PHP mysql.dll with the MySQL 5.1.30 mysql.dll and now it simply crashes with a GPF.
I also tried replacing the 5.0.57a PHP mysql.dll with the latest MySQL 5.0 version, the 5.0.67 and it works perfectly.

So, it fits. PHP 5.2.8 doesn't support MySQL 5.1.30 :)

I've been using it like this for a while (with the DLLs incompatibilities) and it runs fine for now, I think I'll have to wait for PHP 5.3...