RE: [PHP-INSTALL] problem loading mysql dlls
| From: | astratton at compassinfo dot net | Date: | Wed, 19 Sep 2007 02:34:03 +0000 |
| Subject: | RE: [PHP-INSTALL] problem loading mysql dlls | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18264@lists.php.net to get a copy of this message | ||
I noticed you have c:\php\php524\ext in your PATH. I know Windows requires libmysql.dll (usually in
the php binaries root directory, most likely c:\php\php524 in your case) to be in the system path
somewhere [I usually copy to C:\WINDOWS on my local machine as I'm lazy).I would double check
that this file is available in one of the system paths either by copying to C:\WINDOWS or adding
C:\php\php524 to your system path. I'm not sure if this will do a lot, since the same error
should have came up for any version of PHP 5 since the MySQL libraries haven't been packaged
since 5 was released.My small hope to helping from this point is that when changing the system path
to reflect the new installation you didn't replace the old c:\php\phpXXX with
c:\php\php524...Good luck, let me know how it goes.Andy Stratton, ZCECOMPASS Information Systems,
Inc.1756 Belle CourtMillersville, MD 21108www.compassinfo.net(410) 923-6300 Office(410) 923-2820
Fax(443) 623-6835 Mobile
---------------------------------------------------------------------------------------------------Training
for your IT Needs.Prepaid courseware, Customized Network, Database, Web Design, and PHP Training: http://training.compassinfo.net---------------------------------------------------------------------------------------------------
-------- Original Message --------
Subject: [PHP-INSTALL] problem loading mysql dlls
From: Bob Newsome <bobn@servin.us>
Date: Tue, September 18, 2007 7:06 pm
To: php-install@lists.php.net
I am trying to upgrade an Apache 2 PHP installation on XP Home from an
earlier version of PHP 5 to version 5.2.4. The previous version was
working fine. Now I am getting the following message when starting Apache:
[18-Sep-2007 18:11:52] PHP Warning: PHP Startup: Unable to load dynamic
library 'c:\php\php524\ext\php_mysql.dll' - The specified procedure
could not be found.
in Unknown on line 0
phpinfo.php runs fine and returns the following
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\php\php524\php.ini
extension_dir c:\php\php524\ext c:\php\php524\ext
ENVIRONMENT
Path
C:\php\php524\ext;C:\rails-prod-win\ruby\bin;c:\ruby\bin;c:\program
files\imagemagick62;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program
Files\QuickTime\QTSystem\;
I looks to me like all of the paths for finding the dlls match. The
php_gd2.dll is uncommented in php.ini, but it does not produce and
error message and gd is enabled in the phpinfo.php output.
I have reloaded the php directory from the zip file, but this does not help.
What should I try next?
Thanks,
Bob Newsome