[RESOLVED] Cannot load mysql extension. Please check your PHP configuration.
Right.
So. I got php_mysql.dll from the mysql.com website and put it where extensions_dir says it should be, which is C:\PHP\extensions
Good.
Then, I looked in php.ini and uncommented
extension=php_mysql.dll
Good.
Didn't work. So I did what several other hapless individuals across the internet faced with this problem did. I copied php_mysql.dll and libmysql.dll over to C:\windows, c:\windows\system32 and c:\php.
Obviously, no go. So what am I missing now?
Re: Cannot load mysql extension. Please check your PHP configuration.
Get your arse onto MSN.
It is probably the libmysql.dll. First you need to check the version numbers of the dll's and check they match. PHP_mysql may be a different version if you are using PHP 4 (which you shouldn't be).
See second user comment: http://theserverpages.com/php/manual....databases.php
Need I also say - check all the files in question actually exist :D
Re: Cannot load mysql extension. Please check your PHP configuration.
So you're saying that my versions of PHP and MySQL are dependent on each other? :ehh:
Very well, I will get the latest version of PHP. I am currently on 5.1.4, I just hope this doesn't break my existing code.
Post later. Merry Christmas, ho ho ho!
Re: Cannot load mysql extension. Please check your PHP configuration.
I love this. I upgraded to the latest version of PHP and phpmyadmin started working. But it broke my website's own PHP code. Might as well start fixing it now.
I love open source. :rolleyes:
Thank you padam.
Re: Cannot load mysql extension. Please check your PHP configuration.
Quote:
Originally Posted by mendhak
So you're saying that my versions of PHP and MySQL are dependent on each other? :ehh:
Very well, I will get the latest version of PHP. I am currently on 5.1.4, I just hope this doesn't break my existing code.
Post later. Merry Christmas, ho ho ho!
No, the versions of the dll,s. I.e: php_mysql for mysql 4 doesn't work with libmysql.dll for version 5.
Re: Cannot load mysql extension. Please check your PHP configuration.
Quote:
Originally Posted by mendhak
So you're saying that my versions of PHP and MySQL are dependent on each other? :ehh:
Very well, I will get the latest version of PHP. I am currently on 5.1.4, I just hope this doesn't break my existing code.
Post later. Merry Christmas, ho ho ho!
5.1 one was a buggy beast.