ID: 45994
User updated by: ipseno at yahoo dot com
-Summary: upload_tmp_dir directive in php.ini, DISABLES ALL
non-built-in php extensions
Reported By: ipseno at yahoo dot com
Status: Open
Bug Type: *Configuration Issues
Operating System: Windows XP SP3
PHP Version: 5.3.0alpha2
New Comment:
Actually...
"\" at the END of ANY directive in php.ini breaks configuration under
WinXP
Ie:
error_log = "E:\php-5.3.0alpha2\error.log\"
variables_order = "GPCS\"
Previous Comments:
------------------------------------------------------------------------
[2008-09-04 13:54:00] ipseno at yahoo dot com
Description:
------------
upload_tmp_dir directive in php.ini, DISABLES ALL non-built-in php
extensions
To recreate this:
In php.ini set:
upload_tmp_dir = "E:\"
create .php file
<?php
phpinfo();
?>
Under windows xp sp3 Apache/2.2.9b, parse it by php-cgi.exe
Now skip to upload_tmp_dir section, of generated page and look at a
HUGE part of php.ini copied in that filed!
That is..., everything from line upload_tmp_dir = "E:\", till the end
of php.ini
Commenting it out in php.ini.
;upload_tmp_dir = "E:\"
OR shifting slash!!!
upload_tmp_dir = "E:/"
...fixes it and enables all extensions again!
Actual result:
--------------
This is VERY POSSIBLE SOLUTION to:
Bug #13290 extension_dir directive is not working
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45994&edit=1