|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-13 21:34 UTC] dicks at jetsoft dot com
[2008-05-14 07:46 UTC] jani@php.net
[2008-05-14 12:51 UTC] jmertic@php.net
[2008-05-14 14:25 UTC] dicks at jetsoft dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
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.