|
-
Dec 24th, 2007, 03:39 PM
#1
[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?
-
Dec 24th, 2007, 07:10 PM
#2
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
-
Dec 25th, 2007, 07:27 AM
#3
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? 
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!
-
Dec 25th, 2007, 07:50 AM
#4
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. 
Thank you padam.
-
Dec 25th, 2007, 11:18 AM
#5
Re: Cannot load mysql extension. Please check your PHP configuration.
 Originally Posted by mendhak
So you're saying that my versions of PHP and MySQL are dependent on each other?
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.
-
Dec 25th, 2007, 11:19 AM
#6
Re: Cannot load mysql extension. Please check your PHP configuration.
 Originally Posted by mendhak
So you're saying that my versions of PHP and MySQL are dependent on each other?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|