#22776 [Bgs->Opn]: error parsing php.ini - MS-DOS short filename

From: Date: Wed, 19 Mar 2003 13:01:45 +0000
Subject: #22776 [Bgs->Opn]: error parsing php.ini - MS-DOS short filename
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35927@lists.php.net to get a copy of this message
ID: 22776 User updated by: vbhackattack at hotmail dot com Reported By: vbhackattack at hotmail dot com -Status: Bogus +Status: Open Bug Type: PHP options/info functions Operating System: Windows 2000 PHP Version: 4.3.2RC1 New Comment: 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). Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#35927) next »