RandomZero Posted October 2, 2006 Share Posted October 2, 2006 I can't get them to work together on WinXP:(I'm trying to install phpmyadmin, but when I try to access the page I get the error "phpMyAdmin - ErrorCannot load mysql extension. Please check your PHP configuration. - Documentation".I've searched countless forums/help sites for a solution but so far I've come up with nothing.I've uncommented the php_mysql.dll from php.ini, put libmysql.dll in system32, added the environment variables, even tried php_mysqli.dll in php.ini, but nothing works.Any help at this point would be appreciated.. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 2, 2006 Share Posted October 2, 2006 Have your restarted your server? Make sure you have setup the extension_dir directive.Prehaos a have a read of [url=http://www.phpfreaks.com/forums/index.php/topic,95378.0.html]this FAQ[/url]. Quote Link to comment Share on other sites More sharing options...
RandomZero Posted October 2, 2006 Author Share Posted October 2, 2006 I've already tried all that and I still get the error. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 2, 2006 Share Posted October 2, 2006 okay make sure there is not other libmysql.dll PHP may be finding.So go to Start ? Search > All files and foldersType in libmysql.dllThere should be no other instance libmysql.dll other than libmysql.dll being in the MySQL bin folder, in zip files or the your php folder. If you find any other instance of libmysql.dll in C:\WINDOW or C:\WINDOWS\SYSTEM32 either delete or rename them. Quote Link to comment Share on other sites More sharing options...
RandomZero Posted October 2, 2006 Author Share Posted October 2, 2006 There were 2 different versions, so I replaced the older one in the MySQL bin folder.Restarted both apache and mysql but still get the error. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 2, 2006 Share Posted October 2, 2006 I have no Idea. Check that php is using the correct php.ini so create a new file called php.php then add the following:[code=php:0]<?phpphpinfo();?>[/code]What does the [b]Configuration File (php.ini) Path[/b] line say? Is that correct path to the php.ini you're edting? Quote Link to comment Share on other sites More sharing options...
RandomZero Posted October 2, 2006 Author Share Posted October 2, 2006 C:\WINDOWS\php.ini I should probably also mention that there's no entries for mysql. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 2, 2006 Share Posted October 2, 2006 is your php.ini in the WINDOWS folder then? Quote Link to comment Share on other sites More sharing options...
RandomZero Posted October 2, 2006 Author Share Posted October 2, 2006 Yes, and in the php directory. Quote Link to comment Share on other sites More sharing options...
RandomZero Posted October 4, 2006 Author Share Posted October 4, 2006 So it turns out IIS + Apache + MySQL = bad. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 4, 2006 Share Posted October 4, 2006 IIS is anothewr webserver. Why on earth would you want two different web servers on the same computer!You can setup IIS and Apache on the same computer if you wish. However you'll have to setup IIS or Apache to use a different port. As by default they both use the same port which is port 80 (port 80 is the standard port for HTTP requests). 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.