Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.