php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39451 upload_tmp_dir directive not used properly
Submitted: 2006-11-09 15:35 UTC Modified: 2007-01-09 19:43 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: digdug3 at zonnet dot nl Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 5.2.0 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: digdug3 at zonnet dot nl
New email:
PHP Version: OS:

 

 [2006-11-09 15:35 UTC] digdug3 at zonnet dot nl
Description:
------------
The upload_tmp_dir is set in an virtual host file.
When php_info() is called the directive is set properly, but all relying functions to upload_tmp_dir use the standard (C:\WINNT\TMP).

Used to work correctly with previous version.

Apache 2.2.3/PHP 5.2.0/Windows 2000



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-12 11:53 UTC] digdug3 at zonnet dot nl
All extensions disabled, can be repoduced with an phpinfo() and Apache running virtual directories
 [2007-01-07 18:57 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2007-01-09 19:33 UTC] digdug3 at zonnet dot nl
The latest snapshot (5.2.1RC3-dev) solved the problem.
upload_tmp_dir is working properly again. (no need for open_basedir and C:\WINNT\TMP)

Thanks!
 [2007-01-09 19:43 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2010-11-10 14:46 UTC] ivo at altranslations dot be
Have the same problem 
apache 2 directadmin php 5.3.3
when executing phpinfo the upload_tmp_dir is correct however the variable tmp_name is not updated accordingly it remains at /tmp
I also had the same problem with version 5.2.13
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 23:01:26 2024 UTC