Brian W Posted October 7, 2008 Share Posted October 7, 2008 When I try running phpMyAdmin I get this error Cannot load mysql extension. Please check your PHP configuration. - Documentation History: I have never had phpMyAdmin installed, I just barely installed PHP for the first time (which does work) and our MySQL guy installed the MySQL on the sandbox server for us to mess with. I don't know much about this whole installation thing or php.ini settings, I'm relatively new to PHP also. The sandbox server in question is running: Windows XP Pro. Version 2002 ISAPI MySQL Server 5.0 PHP 5.2.6 attempting phpMyAdmin 3.0 Here is the layout: C:\PHP //PHP installation and location of php.ini C:\PHP\ext //my extensions C:\Inetpub\wwwroot //the www root folder umm, I think these are the relevant settings (in order of appearance): Configuration File (php.ini) Path C:\WINDOWS Loaded Configuration File C:\PHP\php.ini extension_dir C:\PHP\ext lib C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\SQLXML 4.0\bin\ PHPRC C:\PHP Path C:\PHP;.....................a bunch of other stuff.......;C:\Program Files\MySQL\MySQL Server 5.0\bin;...................... Like I said, I don't know much about this, first timer. Any input is appreciated since I'm not finding much relevant documentation online. Like, I find people with the same error message but their solution doesn't work for me (though I think I've gotten closer). Oh, btw, I do restart the server every time I make a ini or environment change. Thanks in advance... Quote Link to comment https://forums.phpfreaks.com/topic/127470-phpmyadmin-error/ Share on other sites More sharing options...
Brian W Posted October 8, 2008 Author Share Posted October 8, 2008 also, here is another bit of info; the server is running: Microsoft-IIS/5.1 again, I don't know what is relevant. Quote Link to comment https://forums.phpfreaks.com/topic/127470-phpmyadmin-error/#findComment-659502 Share on other sites More sharing options...
Chicken Little Posted October 8, 2008 Share Posted October 8, 2008 Open the php.ini config file and make sure the following are uncommented extension=php_mysql.dll extension=php_mysqli.dll Quote Link to comment https://forums.phpfreaks.com/topic/127470-phpmyadmin-error/#findComment-659889 Share on other sites More sharing options...
Brian W Posted October 8, 2008 Author Share Posted October 8, 2008 Oh yeah, already did that. That is a very important fact I forgot to mention. Though, I have heard conflicting things about those extensions... like some one was saying to use both of them and some one else said only use the one without the i. I also read something about libraries but no one was being very detailed. If I were using anything but Windows, I think I'd have better resources available to me from what I see online when I was searching. lol Quote Link to comment https://forums.phpfreaks.com/topic/127470-phpmyadmin-error/#findComment-659935 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.