Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to install mysql on apache with php

0 views
Skip to first unread message

Chan Win Hung

unread,
Jan 14, 2009, 8:59:34 PM1/14/09
to php-i...@lists.php.net
Hi all,
 
I am trying to setup a Apache Server 2.2.10 coupled with php 5.2.6 and mySql 5.1 on a Windows XP machine.
 
However, phpinfo() does not display the mysql tables.
 
Upon checking the error log, I was given these 2 errors
PHP Warning:  PHP Startup: Unable to load dynamic library '.;C:\\Program Files\\Apache Software Foundation\\Apache2.2\\php\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.;C:\\Program Files\\Apache Software Foundation\\Apache2.2\\php\\ext\\php_mysqli.dll' - The specified module could not be found.\r\n in Unknown on line 0.
 
My extension_dir in php.ini is set to,
extension_dir = ".;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext"
 
My PATH  has the following,
;C:\Program Files\Apache Software Foundation\Apache2.2\php\;
C:\Program Files\Apache Software Foundation\Apache2.2\php\ext\libmysql.dll;
 
However, the 2 dll files, php_mysqli.dll and php_mysql.dll are inside. I just do not understand why it still cannot work.
 
I hope you guys will be able to help me with it.

Regards,
Chan Win Hung


0 new messages