Re: PHP5: problems with installing mysql support (I solved it)
| From: | Glenn Puckett | Date: | Mon, 04 Oct 2004 16:53:41 +0000 |
| Subject: | Re: PHP5: problems with installing mysql support (I solved it) | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14477@lists.php.net to get a copy of this message | ||
I was having the same problem. I downloaded PHP 5.0.2 and am trying to install on WinXP with Apache 1.3.31, MySQL 4.0.14 and Jakarta/mod_jk 1.2.4.
First I installed without MySQL support and verified that PHP is working. Then I tried updating php.ini with the following settings:
extension_dir = "./ext/"
extension=php_mysql.dll
mysql.default_port = 3306
mysql.default_host = localhost
mysql.default_user = xxxxx (actual userid changed)mysql.default_password = yyyyy (actual password changed) Now when I start Apache I get the following failure: "the proceedure entry point mysql_drop_db could not be located in the dynamic link library LIBMYSQL.dll" which is then followed by: "PHP Startup: unable to load './ext/php_mysql.dll' - The specified proceedure could not be found" What I have discovered is that mysql has it's own libmysql.dll file. If it is in the path before your php directory Apache will pick that one up. I moved the libmysql.dll from php to System32 and Apache now starts just fine. Now my PHP 5.0.2 is working fine with MySQL!!! Glenn Puckett