From: dicks at jetsoft dot com Operating system: Win2k3 Server PHP version: 5.2.6 PHP Bug Type: Unknown/Other Function Bug description: PHP fails loading DLLs for extensions in full install
Description: ------------ Using php-5.2.6-win32-installer.msi, installing into a path with a space char (either the default, "C:\Program Files\PHP" or, for example, "C:\P PHP") makes PHP fail while starting up, if FULL installation was performed. Error reports show failures trying to load various dlls, and list their paths correctly, but claim that they are not found. This is NOT a permissions problem, nor a search-path problem. If PHP is (full - that is all options) installed in "C:\PHP" the failure does NOT occur. If the default installation ("C:\Program Files\PHP", but not all the extensions) is performed, this problem does not occur. Likewise, an otherwise default installation, to any other directory that I tried, fails to repro the problem. So far, incomplete evidence suggests that some extensions, while looking for their MIB modules, fail to handle the embedded space char correctly. Reproduce code: --------------- Repro: 1. Install from php-5.2.6-win32-installer.msi. 2. In the "Choose Items to Install" dialog, select the dropdown labelled "PHP", and choose "Entire feature will be installed on local hard drive". 3. Complete installation accepting all defaults. 4. Open a DOS-box, and navigate to the installation directory (C:\Program Files\PHP, if you accepted the defaults) 5. Type "php -i" and hit Enter. Non-repro instructions: either omit step 2, above (don't do a full install - do a default instead), or change the installation dir to one without a space in the path. Expected result: ---------------- various PHP information is displayed on the console. Actual result: -------------- about a dozen pop-ups and error reports, claiming that, for instance, "C:\Program Files\PHP\ext\OCI.dll" could not be found. PHP fails to start up. -- Edit bug report at http://bugs.php.net/?id=44986&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44986&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44986&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44986&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44986&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44986&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44986&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44986&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44986&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44986&r=support Expected behavior: http://bugs.php.net/fix.php?id=44986&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44986&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44986&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44986&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44986&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44986&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44986&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44986&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44986&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44986&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44986&r=mysqlcfg