PHP 4.0 Bug #7243 Updated: upload_tmp_dir does not work in safe_mode
| From: | wouter at widexs dot nl | Date: | Mon, 16 Oct 2000 19:56:12 +0000 |
| Subject: | PHP 4.0 Bug #7243 Updated: upload_tmp_dir does not work in safe_mode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35188@lists.php.net to get a copy of this message | ||
ID: 7243
User Update by: wouter@widexs.nl
Status: Open
Bug Type: *General Issues
Description: upload_tmp_dir does not work in safe_mode
I tested it on alot of servers we have, and only _one_ is working with the correct upload_tmp_dir as
set in /usr/local/lib/php.ini
The httpd has exact the same size as the other ones, so that shouldn't make any difference.
This is exactly the same problem as described at http://bugs.php.net/bugs.php?id=6875
It also happens @ php 4.0.3pl1 (with apache 1.3.14) and on other OS'es, like slackware 7.1.0
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 10:43:20] wouter@widexs.nl
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 ;)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7243