Page 1 of 1
mysql problem with php my admin
Posted: Tue Aug 01, 2006 5:44 am
by maxpax
I am relatively new to this and I am trying to set up a database on my local network server. The server is windows 2003 and is running IIS 6.0, I have managed to install php without any problems.
I have also installed mysql and put php my admin into the web directory. However when I try to access the my admin page, it comes up with this error:
'Cannont load mysql extension. Please check your PHP configuration'
How do I get around this??
thanks,

Posted: Tue Aug 01, 2006 6:36 am
by SimonJ621
Check your phpinfo() to see if your php is configured correctly. To do that, just create a page that looks like the following and point to it in a browser:
You should have a mysql section. The location of your php.ini file should also be something like c:/WINDOWS/php.ini. The important part is that php.ini is at the end.
If you don't have a mysql section, try uncommenting the php_mysql.dll include in your php.ini file. If php isn't finding the correct php.ini file, make sure you don't have multiple copies, make sure your server is pointing to it (I'm not familiar with IIS).
Hope that helps.
Jason
Posted: Tue Aug 01, 2006 6:40 am
by volka
Did you follow the instructions at
http://de2.php.net/manual/en/ref.mysql.php
Installation on Windows Systems
PHP 4
The PHP MySQL extension is compiled into PHP.
PHP 5+
MySQL is no longer enabled by default, so ...
Posted: Tue Aug 01, 2006 10:21 am
by maxpax
Thanks for the advice, what I have decided to do is unistall all the php stuff that I installed and then re-install it all as I am sure that it didn't work properly the first time.
Thanks again.
Posted: Tue Aug 01, 2006 10:56 am
by volka
And if you do not want to bother with installation issues there's always
http://www.apachefriends.org/en/xampp.html