I'm setting up SuExec/FastCGId-based PHP webhosting, and I'd like to set the upload_tmp_dir directive to a different path for each separate user.

I've done several google searches on php cgi upload_tmp_dir environment variable and I've found a whole lot of references indicating that it's possible to do this by setting an environment variable, but no hits on what the variable in question should be named.

What am I missing?

ETA: Because the php process is called from CGI rather than mod_php I can't use the php_admin_value directive in the apache virtualhost config.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.