пятница, 6 ноября 2009 г.

Disable open basedir in plesk

To disable open_basedir in plesk, create a file vhost.conf in conf folder of the site.

vi /var/www/vhosts/yourdomain.extn/conf/vhost.conf

Add following and save the file.


< Directory /var/www/vhosts/yourdomain.com/httpdocs>
php_admin_value open_basedir none
< / Directory>

This will disable open_basedir also set php safe_mode off.

Now run

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

Комментариев нет: