From: cormac at kernan dot eu Operating system: Vista Ultimate SP1 PHP version: 5.2.5 PHP Bug Type: *Configuration Issues Bug description: Some PHP extensions will not load
Description: ------------ Cannot get some extensions to load with PHP 5.2.5 on Apache 2.2.6 or 2.2.8 on Windows Vista Ultimate SP1 (32 bit). phpinfo() shows that the php.ini file is being found and that the following extensions load as expected: php_gd2.dll php_mbstring.dll php_soap.dll php_pdo.dll However, the following do not load: php_mysql.dll php_mysqli.dll php_pdo_mysql.dll I have tried loading each of these on their own, but the Apache error log always shows the same result i.e. the extensions do not load. MySQL is installed correctly and I have had the same setup working without problem on Vista 64 bit and Vista 32 bit (without SP1). I have tried the latest PHP 5.2 snapshot, only to get the same result. Reproduce code: --------------- Add the following to php.ini ensuring that all required extensions are present in the extensions directory: extension=php_gd2.dll extension=php_mbstring.dll extension=php_soap.dll extension=php_pdo.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_pdo_mysql.dll Expected result: ---------------- All extensions should load as required with no errors in Apache error log after startup. Actual result: -------------- Apache error log shows something similar to the following: PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php/ext/php_mysqli.dll' - The specified module could not be found.\r\n in Unknown on line 0 [Sun Apr 20 15:38:00 2008] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations [Sun Apr 20 15:38:00 2008] [notice] Server built: Sep 5 2007 08:58:56 [Sun Apr 20 15:38:00 2008] [notice] Parent: Created child process 5240 PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php/ext/php_mysqli.dll' - The specified module could not be found.\r\n in Unknown on line 0 [Sun Apr 20 15:38:00 2008] [notice] Child 5240: Child process is running [Sun Apr 20 15:38:00 2008] [notice] Child 5240: Acquired the start mutex. [Sun Apr 20 15:38:00 2008] [notice] Child 5240: Starting 64 worker threads. [Sun Apr 20 15:38:00 2008] [notice] Child 5240: Starting thread to listen on port 80. -- Edit bug report at http://bugs.php.net/?id=44788&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44788&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44788&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44788&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44788&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44788&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44788&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44788&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44788&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44788&r=support Expected behavior: http://bugs.php.net/fix.php?id=44788&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44788&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44788&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44788&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44788&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44788&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44788&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44788&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44788&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44788&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44788&r=mysqlcfg