From: rob4you at vodafone dot it Operating system: Windows XP PHP version: 5.2.0 PHP Bug Type: Dynamic loading Bug description: Unable to load dynamic library
Description: ------------ PHP 5.2.0 installed as Apache module (apache version 2.2.3) on Windows XP. I've also tried with PHP 5.2.1RC2-dev, PHP 5.1.2. I've used also Apache 2.0.x as webserver. The php.ini is correctly configured with the wanted extensions (extension=php_name.dll) and the right extensions_dir. The Apache server is correctly configured with the PHPIniDir and LoadModule directive. The problem is the following: when the server starts, SOME extensions are not loaded, and the following warning is produced (as an example): PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Programs\\PHP\\ext\\php_curl.dll' - Impossible to locate specified module.\r\n in Unknown on line 0 The extension is instead correctly placed in the right directory. It's quite strange that some extensions are loaded, some other are not loaded, but they are all in the SAME directory! ps: i've not used environment variable because in the manual it says it not necessary when using php as apache module. If I set instead the environment variable Path C:\Programs\PHP it works. However the behaviour for the problem previously exposed is unexpected: some extensions are correctly loaded, others no. -- Edit bug report at http://bugs.php.net/?id=39877&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39877&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39877&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39877&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39877&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39877&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39877&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39877&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39877&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39877&r=support Expected behavior: http://bugs.php.net/fix.php?id=39877&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39877&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39877&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39877&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39877&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39877&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39877&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39877&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39877&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39877&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39877&r=mysqlcfg