sharpnova Posted June 17, 2008 Share Posted June 17, 2008 I am running an Apache server on windows and php 5.2.5 and MySQL 5 are working fine. I tried installing phpmyadmin. My config.inc.php file looks like this: <?php /* * Generated configuration file * Generated by: phpMyAdmin 2.11.7-rc1 setup script by Michal Čihař <michal@cihar.com> * Version: $Id: setup.php 10748 2007-10-10 07:30:59Z cybot_tm $ * Date: Tue, 17 Jun 2008 01:38:53 GMT */ /* Servers configuration */ $i = 0; /* Server localhost (http) [1] */ $i++; $cfg['PmaAbsoluteUri'] = 'http://www.sharpnova.com/phpmyadmin/'; $cfg['Servers'][$i]['host'] = 'http://sharpnova.com'; $cfg['Servers'][$i]['extension'] = 'mysql'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['auth_type'] = 'http'; ?> When I try to load localhost/phpmyadmin/index.php i get the following error: "Cannot load mysql extension. Please check your PHP configuration." i have gone into c:\program files\php and edited the php.ini and removed the semicolon from extension=msql.dll But I still get the same error.. I'm completely clueless at this point. Quote Link to comment Share on other sites More sharing options...
trq Posted June 17, 2008 Share Posted June 17, 2008 This really doesn't have anything to do with Apache. Have you read this thread? Made sure you restarted apache (and intern reloaded php's configuration)? Quote Link to comment Share on other sites More sharing options...
sharpnova Posted June 17, 2008 Author Share Posted June 17, 2008 Yep. I restart apache with every change i make. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 17, 2008 Share Posted June 17, 2008 When I try to load localhost/phpmyadmin/index.php i get the following error: "Cannot load mysql extension. Please check your PHP configuration." i have gone into c:\program files\php and edited the php.ini and removed the semicolon from extension=msql.dll But I still get the same error.. I'm completely clueless at this point. msql.dll is not for mysql. You should be enabling the php_mysql.dll extension. Quote Link to comment Share on other sites More sharing options...
sharpnova Posted June 17, 2008 Author Share Posted June 17, 2008 If anyone else is having this problem, there are some of the inter-versions of PHP that don't work with phpmyadmin. I didn't even have an ext directory, nor was there even a php_mysql.dll on my hard drive. My advice (and how I solved this problem): go XAMPP. It makes life easier in a world where apache and php become needlessly hard to use. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 17, 2008 Share Posted June 17, 2008 I presume you used the installer to install PHP on Windows before hand. You should use the zipped binaries package instead the installer comes with limited files. 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.