Needed to set the upload_tmp_dir on a domain in Plesk and by default upload_tmp_dir was returning no value.
URL:
- Parallels FAQ: I’m getting an upload_tmp_dir error on the php that I have installed. How do I fix this error?
The above URL suggested setting the upload_tmp_dir value via the vhost.conf file:
# File: /path/to/vhosts/domain.com/conf/vhost.conf
<Directory /path/to/vhosts/domain.com/httpdocs>
php_admin_value upload_tmp_dir /tmp
</Directory>
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 –vhost-name=domain.com