Joomla / Plesk

Here’s a vhost.conf that makes Joomla happy:

<Directory /var/www/vhosts/somedomain.com/httpdocs >
php_flag magic_quotes_gpc on
php_flag display_errors on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</Directory>

And here are the ownership/permissions:

chown --recursive user.psacln administrator cache components editor help images includes installation language mambots media modules templates *.php *.php-dist *.txt

chmod --recursive go+w administrator/backups/ administrator/components/ administrator/modules/ administrator/templates/ cache components/ images/ images/banners/ images/stories/ language/ mambots/ media/ modules/ templates/

touch configuration.php
chown user.psacln configuration.php
chmod og+rw configuration.php
blog comments powered by Disqus