#45994 [NEW]: upload_tmp_dir directive in php.ini, DISABLES ALL non-built-in php extensions

From: Date: Thu, 04 Sep 2008 13:54:01 +0000
Subject: #45994 [NEW]: upload_tmp_dir directive in php.ini, DISABLES ALL non-built-in php extensions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128674@lists.php.net to get a copy of this message
From:             ipseno at yahoo dot com
Operating system: Windows XP SP3
PHP version:      5.3.0alpha2
PHP Bug Type:     *Configuration Issues
Bug description:  upload_tmp_dir directive in php.ini, DISABLES ALL non-built-in php extensions

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 bug report at http://bugs.php.net/?id=45994&edit=1
-- 
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45994&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45994&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45994&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45994&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=45994&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45994&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45994&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45994&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45994&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45994&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=45994&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=45994&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45994&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45994&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45994&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45994&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45994&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45994&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45994&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45994&r=mysqlcfg



Thread (14 messages)

« previous php.bugs (#128674) next »