cd /var/www/vhosts/[domain.com]chown -R [username]:psacln httpdocschmod -R g+w httpdocsfind httpdocs -type d -exec chmod g+s {} ;
psacln:x:2524:
psacln:x:2524:apache
psacln:x:2524:apache,psaftp,psaadm
<Directory /var/www/vhosts/[domain]/httpdocs>php_admin_flag magic_quotes_gpc onphp_admin_flag display_errors onphp_admin_value session.save_path /tmp</Directory>
/usr/local/psa/admin/bin/websrvmng -av
# httpd -t (check your work)# /etc/init.d/httpd reload (service httpd restart on my server)