Welcome to WebmasterWorld Guest from 54.161.135.168

Forum Moderators: Ocean10000 & incrediBILL & phranque

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

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

5+ Year Member



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 Jul 1, 2007 (gmt 0)

5+ Year Member



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

5+ Year Member



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 Jul 2, 2007 (gmt 0)

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



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...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month