#22776 [Opn->Bgs]: error parsing php.ini - MS-DOS short filename
| From: | sniper@php.net | Date: | Wed, 19 Mar 2003 16:47:05 +0000 |
| Subject: | #22776 [Opn->Bgs]: error parsing php.ini - MS-DOS short filename | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35935@lists.php.net to get a copy of this message | ||
ID: 22776
Updated by: sniper@php.net
Reported By: vbhackattack at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Windows 2000
PHP Version: 4.3.2RC1
New Comment:
Always use "'s around the paths.This won't give any errors:
extension_dir = "F:/PROGRA~1/phpdev/php/extensions"
Previous Comments:
------------------------------------------------------------------------
[2003-03-19 07:01:45] vbhackattack at hotmail dot com
Before changing the status to "Bogus", could you elaborate on why this
bug can't be fixed? This is bound to cause confusion for PHP newbies
(as I was a month ago).
------------------------------------------------------------------------
[2003-03-19 02:01:02] sniper@php.net
This is just how it works on windows..
------------------------------------------------------------------------
[2003-03-18 21:06:53] vbhackattack at hotmail dot com
When loading php.exe reports a non-fatal error when parsing php.ini:
PHP: Error parsing F:\WINNT\php.ini on line 424
where php.ini line 424 is:
extension_dir = F:/PROGRA~1/phpdev/php/extensions
Changing to a long filename is a work around. It doesn't seem to matter
if a long filename containing spaces is quoted. The following seems to
work, although I have no idea how to throughly test this.
extension_dir = F:/Program Files/phpdev/php/extensions
I tried to explore this but it involves Bison parsing of the ini file
and I got lost in the muddle of identifiers all starting with "yy".
Tested with v4.3.1, v4.3.2RC1, v4.5.x and v5.0.x.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22776&edit=1