Jump to content

phpmy admin php and mysql not picking up correctly


Recommended Posts

im setting up a webserver at work on IIS 5.1 using php and mysql i got php working but when i use the mysql extension php shows no errors on loading but phpmyadmin says

 

phpMyAdmin - Error

 

Cannot load mysql extension. Please check your PHP configuration. - Documentation

 

but the extension is deffinatly there. (i can run phpinfo but no mysql info is shown)

If no mysql info is shown when you run phpinfo then PHP has not loaded the mysql extension.

 

Have you enabled the mysql extension in the php.ini (php_mysql.dll) and that you have setup extension_dir to point PHP's extensions folder (eg: C:/PHP/ext). Also add PHP to the Windows PATH variable too.

 

Any changes you make to the php.ini or IIS's configuration you must restart IIS. Also if you change the PATH you must restart Windows also.

i have done all of the above and when i run php.exe it shows no errors but then when i look at phpinfo no mysql showing up

 

the dll is there and i have told the php ini to load php_mysql.dll

 

what do you mean by

Also add PHP to the Windows PATH variable too.

 

do you mean add the windows path for iis into the php.ini file if so i have done this if not what do you mean?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.