ID: 22776 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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