Plesk PHP and upload_tmp_dir on domain

Needed to set the upload_tmp_dir on a domain in Plesk and by default upload_tmp_dir was returning no value.


The above URL suggested setting the upload_tmp_dir value via the vhost.conf file:

# File:  /path/to/vhosts/
<Directory /path/to/vhosts/>
php_admin_value upload_tmp_dir /tmp

It then suggests running:

/usr/local/psa/admin/sbin/websrvmng -a -v

Or the following should work too:

/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –

Leave a Reply

Your email address will not be published. Required fields are marked *