Product:
Search Type:

I'm getting an upload_tmp_dir error on the php that I have installed. How do I fix this error?

Article ID: 208 
Last Review: Mar,07 2007
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION

This can be done by adding:

	upload_tmp_dir /tmp

into php.ini.

Or if you wish to specify upload_tmp_dir for one domain only add the following line in the domain's vhost.conf file.
<Directory /path/to/vhosts/domain.com/httpdocs>
php_admin_value upload_tmp_dir /tmp
</Directory>

Once the changes have been made to the file the 'websrvmng -a -v ' utility must be run in order for the changes to take affect.


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields