marksie1988 Posted July 9, 2007 Share Posted July 9, 2007 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) Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 9, 2007 Share Posted July 9, 2007 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. Quote Link to comment Share on other sites More sharing options...
marksie1988 Posted July 9, 2007 Author Share Posted July 9, 2007 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.