PHP 4.0 Bug #7243: upload_tmp_dir does not work in safe_mode
| From: | wouter at widexs dot nl | Date: | Mon, 16 Oct 2000 14:43:20 +0000 |
| Subject: | PHP 4.0 Bug #7243: upload_tmp_dir does not work in safe_mode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35130@lists.php.net to get a copy of this message | ||
From: wouter@widexs.nl
Operating system: RedHat 6.2
PHP version: 4.0.3pl1
PHP Bug Type: *General Issues
Bug description: upload_tmp_dir does not work in safe_mode
We upgraded PHP 4.0.0 to PHP 4.0.3 , cause of the bug fixes.
We use safe_mode, and have set the following options :
safe_mode = On
safe_mode_exec_dir = .
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
upload_tmp_dir = /opt/guide ; temporary directory for HTTP uploaded files (will use system
default if not specified)
upload_max_filesize = 2M ; Maximum allowed size for uploaded files
It always worked [we added the file_uploads, since it didn't work]
The problem is, the scripts always try to write to /tmp, insted of upload_tmp_dir
This is a BIG problem for us (Hosting Provider). Please fix this ;)
--
Edit Bug report at: http://bugs.php.net/?id=7243&edit=1