Disable open_basedir pe servere Plesk

Indicatiile urmatoare va vor arata cum se dezactiveaza open_basedir pe servere Plesk, fara a fi nevoie de modificari in fisierul global httpd.conf

Creati un nou fisier numit vhost.conf:

# touch /var/www/vhosts/yourdomain.com/conf/vhost.conf

Deschideti fisierul pentru editare:

# vim /var/www/vhosts/yourdomain.com/conf/vhost.conf

Si adaugati:

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

Salvati, reconfigurati sau restartati serverul web:

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

sau

# /etc/init.d/httpd restart

Enjoy 😉

 

1 Comment

  1. March 7, 2011    

    chiar cautam chestia asta :)) ! thanks man 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *