Unable to load PHP extensions with Apache under Windows
Upon startup of a localhost Apache HTTPD 2.2.11 under Windows XP Pro SP 3 and with PHP 5.2.10, in the Apache error.log I'm getting a warning message of the form...
...for each of: php_bz2.dll, php_pdo, php_pdo_mysql, php_xmlrpc.
PHP Warning: PHP Startup: Unable to load dynamic library
'D:\\Server\\PHP\\ext\\xxxxx.dll' - The specified procedure
could not be found.\r\n in Unknown on line 0
I do not get any such warning for the several other PHP extensions that are loaded, such as mysqli.dll.
Each of the corresponding extensions was installed with PHP, and the dll's are in my PHP\ext directory; php.ini of course includes the corresponding extension=... statements.
Of course, php.ini of course includes:
And httpd.conf includes:
My Windows environment variable path includes D:\Server\PHP\ and D:\Server\PHP\ext at its start.
LoadModule php5_module "D:/Server/PHP/php5apache2_2.dll"
I'm running in an administrator account, and there are no permission issues.
In case it's relevant: I have multiple copies of libeay32.dll and ssleay32.dll in different locations, including a copy of each in D:\Server\Apache2.2\bin AND in D:\Server\PHP. (There is no copy of libeay32.dll in C:\Windows\system32, but there is a copy of ssleay32.dll in C:\Windows\system32\ZoneLabs.)
In D:\Server\Apache2.2\bin, both libeay32.dll and ssleay32.dll are version 0.9.8.9, whereas in D:\Server\PHP they are both version 0.9.8.11.