Plesk: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<center> <h1>Plesk</ | <center> <h1>Plesk </h1></center> | ||
Revision as of 22:41, 27 May 2010
Plesk
Location of the vhost in plesk
/var/www/vhosts/HoudiniESQ.com/conf
Turn off Safe_mode in plesk
NOTE-dont forget to replace <domain name>, with the actual domain name.
Create a “vhost.conf” file in “/var/www/vhosts/<domain name>/conf/”
cd /var/www/vhosts/<domain name>/conf/ vim vhost.conf
Insert the following into it.
<Directory /var/www/vhosts/<domain name>/httpdocs> php_admin_value safe_mode off php_admin_value open_basedir none </Directory>
Now run the following to update the conf.
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain name>
Now restart httpd
service httpd reload