Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

installing server. mysql installed but no mysql in phpinfo().

2:35 pm on Jul 1, 2007 (gmt 0)

New User

5+ Year Member

joined:Apr 28, 2006
votes: 0


i have successfully installed apache_2.2.4, mysql-essential-5.0.41 and php-5.2.3 under Windows XP system.

i have no problems executing php scripts etc. BUT when i run phpinfo() function there is no MYSQL mentioned at all. as the matter of fact i can't work with phpmyadmin (error: Cannot load mysql extension. Please check your PHP configuration) and so on.

any ideas how to link php and mysql together?

thanks a lot

2:49 pm on July 1, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 22, 2005
votes: 0

since php5 mysql extension is not enabled by default.
so edit your php.ini to enable mysql extension.
2:52 pm on July 1, 2007 (gmt 0)

New User

5+ Year Member

joined:Apr 28, 2006
votes: 0

i had enabled this one before:


but it does not work anyway... :/

11:22 pm on July 2, 2007 (gmt 0)


WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
votes: 0

You'll also need to set the extension directory directive correctly in your PHP configuration.

Here is another troubleshooting thread that might offer insight if that doesn't fix things for you ...