PHP doesn't support MySQL 5.1.30?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
MatuX
Forum Newbie
Posts: 3
Joined: Sun Dec 21, 2008 12:20 pm

PHP doesn't support MySQL 5.1.30?

Post 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.
acidweb
Forum Newbie
Posts: 1
Joined: Mon Dec 22, 2008 4:41 pm

Re: PHP doesn't support MySQL 5.1.30?

Post by acidweb »

yes,ehat is the server in php runing?
MatuX
Forum Newbie
Posts: 3
Joined: Sun Dec 21, 2008 12:20 pm

Re: PHP doesn't support MySQL 5.1.30?

Post 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.
User avatar
Syntac
Forum Contributor
Posts: 327
Joined: Sun Sep 14, 2008 7:59 pm

Re: PHP doesn't support MySQL 5.1.30?

Post by Syntac »

Ignore his question. It appears to be about eHats.

Do you have any log files?
MatuX
Forum Newbie
Posts: 3
Joined: Sun Dec 21, 2008 12:20 pm

Re: PHP doesn't support MySQL 5.1.30?

Post 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...
Post Reply