php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39919 error parsing c:\Program Files (x86)\PHP\php.ini
Submitted: 2006-12-21 08:00 UTC Modified: 2008-08-22 18:06 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: liddlem at ananzi dot co dot za Assigned: jmertic (profile)
Status: No Feedback Package: Windows Installer
PHP Version: 5.2.0 OS: Win XP (x64)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-12-21 08:00 UTC] liddlem at ananzi dot co dot za
Description:
------------
This error relates to the line:
extention_dir=c:\Program Files (x86)\PHP\ext in the php.ini file.
I have tried adding a "\" to the end of the line but this has also not worked.

When I encapsulate the path in quotes e.g. "path" - the error message disappears, but when I launch my test file absolutely NOTHING happens. No open IE7. No error message.
I also tried putting my text.php file into the apache\htdocs folder and then open localhost\test.php
Stay offline does nothing.
Connect give a 404 error.

I was wondering whether this may be a problem that is specific to the 64bit version of Windows?

I did try to install to the "old" c:\Program Files folder, but PHP was "forced" into c:\Program Files (x64)

I have had a look at bugs 22776, 39913 and 33983, but still no luck


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-21 10:17 UTC] php at daniel15 dot com
"This error relates to the line:
extention_dir=c:\Program Files (x86)\PHP\ext in the php.ini file.
I have tried adding a "\" to the end of the line but this has also not
worked."
Have you tried using forward slashes rather than backslashes?

Try:
extention_dir=c:/Program Files (x86)/PHP/ext
And see if it works
 [2006-12-21 22:13 UTC] liddlem at ananzi dot co dot za
Thanks Daniel
Tried that too and its still not working.
 [2006-12-25 12:36 UTC] jmertic@php.net
It should work fine if it's quoted, which is fixed in CVS. Does a page with just <?php phpinfo(); ?> come up fine indicating the path to the php.ini in it?
 [2006-12-25 12:39 UTC] jmertic@php.net
Also, what web server are you using? Are you using it in CGI or ISAPI mode? Is that web server 64 or 32 bit?
 [2007-01-08 12:36 UTC] jmertic@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 16:01:28 2024 UTC