[PHP-DEV] PHP 4.0 Bug #7243 Updated: upload_tmp_dir does not work in safe_mode From: sniper <email protected>
Date: 10/30/00

ID: 7243
Updated by: sniper
Reported By: wouter <email protected>
Status: Duplicate
Bug Type: *General Issues
Assigned To:
Comments:

dup of #6875

Previous Comments:
---------------------------------------------------------------------------

[2000-10-16 15:56:11] wouter <email protected>
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

---------------------------------------------------------------------------

[2000-10-16 10:43:20] wouter <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>