MySQL Forums
Forum List  »  PHP

Cannot load mysql extension. Please check your PHP configuration
Posted by: tom van mele
Date: January 17, 2006 07:35AM

Hi,

when i try to open phpMyAdmin (http://localhost/phpMyAdmin-2.7.0-pl2/index.php) i get this message:

Cannot load mysql extension. Please check your PHP configuration

after reading the documentation i did the following:
-i've added these paths to the environment variables:
D:\Program Files\MySQL\MySQL Server 5.0\bin\
D:\PHP\
-i've deleted the semicolon in front of the 'extension=php_mysql.dll' entry in the php.ini file which is located at C:\WINDOWS\
-i've copied the libmysql.dll in the same directory as the install.txt file -> D:\PHP\

the php_mysql.dll file is located in D:\PHP\

mysql works from the comandline and i've installed it as a service

mysql is however not mentioned on the phpinfo.php page

and there is no path for apache in the environment variables (but i don't know if this is necessary)


can someone tell me what i am doing wrong

thanks :)

Options: ReplyQuote


Subject
Written By
Posted
Cannot load mysql extension. Please check your PHP configuration
January 17, 2006 07:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.