I was trying to set upload_tmp_dir variable for one of my domain I added following entries
root@host1 /var/www/vhosts/vw-forum.pl/conf # cat vhosts.conf
php_admin_value upload_tmp_dir /tmp
Then I refreshed configuration
/usr/local/psa/admin/sbin/httpdmng –reconfigure-domain vw-forum.pl
but in the end in php info it`s showing
upload_tmp_dir no value no value
Pls advice how to fix this..
2
Answers
I have find out an answer it should be changed in PLesk Panel for particula domain PHP settings tab for domain As "Additional configuration directives"
My phpinfo also shows no value in
upload_tmp_dir
. However, as I’ve learned today from the error logs, you have to manually configure Plesk to accept that respective dir in theopen_basedir
PHP setting.I have just done so and can upload fine now, even though phpinfo still shows no value for that entry.