Create a "vhost.conf" file in "/var/www/vhosts/<DOMAIN.TL
<Directory /var/www/vhosts/<DOMAIN.TLD >/httpdocs>
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>
Rebuild the domain configs for the particular host via:
/usr/local/psa/admin/sbin/webs rvmng -u --vhost-name=<DOMAIN.TLD> ;
or rebuild all via:
# /usr/local/psa/admin/sbin/webs rvmng -a
- sandip's blog
- Login or register to post comments
Comments
Yes, works. But won't work for php.ini only settings like disable_functions.
Add the below mentioned lines to increase the upload_max_filesize to 15M. You will need to increase the post_max_size to be more that the upload_max_filesize and depending on memory limits, it may also need to be increased.
php_admin_value post_max_size 20M
php_admin_value upload_max_filesize 15M
I've Been searching high and low for this answer to my open_basedir issue for the past 2 days. didn't know i had to rebuild the domain configs for plesk. THANKS!