ID:               44986
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dicks at jetsoft dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         *General Issues
 Operating System: Win2k3 Server
 PHP Version:      5.2.6
-Assigned To:      
+Assigned To:      jmertic
 New Comment:

Assigned to the installer maintainer.


Previous Comments:
------------------------------------------------------------------------

[2008-05-13 21:34:18] dicks at jetsoft dot com

Note that, in the first paragraph of the description, where the second
example path is broken between two lines, the embedded space may not be
obvious. The non-default installation dir that failed for me was:

"C:\P<embedded-space>PHP"

This directory only failed with a full install - the default install
succeeded.

Actually, to be clear, ALL the installaions succeeded - what failed was
the cmd-line invocation (from within the installation dir, whatever it
was at the time) of "php -i" after installation.

------------------------------------------------------------------------

[2008-05-13 21:26:18] dicks at jetsoft dot com

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 this bug report at http://bugs.php.net/?id=44986&edit=1

Reply via email to