some PHP extensions unable to load with Apache

Murray Eisenberg <[email protected]>
Newsgroups gmane.comp.php.windows
Organization University of Massachusetts Amherst
Message-ID <[email protected]>
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...
[CODE]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[/CODE]
....for each of: php_bz2.dll, php_pdo, php_pdo_mysql, php_xmlrpc.

I do [I]not [/I]get any such warning for the several other PHP 
extensions that are loaded, such as mysqli.dll. (And that extension is 
functioning as expected.)

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: 
[CODE]extension_dir="D:\Server\PHP\ext"[/CODE]
And httpd.conf includes:
[CODE]PHPIniDir "D:/Server/PHP/"
LoadModule php5_module "D:/Server/PHP/php5apache2_2.dll"[/CODE]

My Windows environment variable path includes D:\Server\PHP\ and 
D:\Server\PHP\ext at its start.

phpinfo output shows D:\Server\PHP\php.ini -- the one that it should be 
finding. And as expected it shows as loaded the modules that are not 
generating any warnings, and as not loaded the modules that do generate 
the warnings.

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.

What's wrong?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.