|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9866 upload_tmp_dir not recognized in .htaccess
Submitted: 2001-03-20 06:52 UTC Modified: 2001-06-05 03:32 UTC
From: raarts at netland dot nl Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.4pl1 OS: RedHat 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: raarts at netland dot nl
New email:
PHP Version: OS:


 [2001-03-20 06:52 UTC] raarts at netland dot nl
in 4.0.3.pl1 upload_tmp_dir was not recognized in php.ini
This was indeed fixed in 4.0.4pl1.

But it is still ignored in .htaccess files
or in apache virtual host contexts.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 03:32 UTC]
With PHP 4.0.6RC2 I can set the upload_tmp_dir in the
httpd.conf withing virtual host contexts.

php_admin_value upload_tmp_dir "/tmp/virtual/" 

This works just fine for me.
But it won't and will never work in .htaccess files.

This should also work in 4.0.5 (and maybe in 4.0.4pl1 too)
since this code hasn't changed since.

One thing to remember: The path set with this has to be
writeable by the webserver user. 


PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 19:01:26 2020 UTC