Plesk

From Cheatsheet
Revision as of 22:39, 27 May 2010 by Admin (talk | contribs) (Created page with '<center h1>Plesk</center h1> '''Location of the vhost in plesk''' <pre>/var/www/vhosts/HoudiniESQ.com/conf</pre> '''Turn off Safe_mode in plesk'''<br> NOTE-dont forget to repl…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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