Stuff…

I know I will forget.

Stuff… header image 2

Plesk PHP and upload_tmp_dir on domain

May 5th, 2009 · No Comments

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

URL:

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

Tags: Control Panels · Operating System

0 responses so far ↓

  • There are no comments yet...

Leave a Comment