php.net |  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
 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 03:32 UTC] sniper@php.net
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. 

--Jani


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 16:01:24 2020 UTC