Welcome to WebmasterWorld Guest from 184.72.177.182

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
posts:37
votes: 0


hi,

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
posts:152
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
posts:37
votes: 0


i had enabled this one before:

...
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
<...>

but it does not work anyway... :/

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

Administrator

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

joined:July 31, 2003
posts:12533
votes: 0


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

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