I found Till's post here http://www.howtoforge.com/forums/showpost.php?p=179160&postcount=2 on when to use mod_php, fast-cgi or suphp. I am curious as to when to use or not to use suexec. I am curious in general on that but also when using a CMS such as Joomla. Any other recommendations settings to change when using Joomla would be appreciated as well. Thanks! Brian
When you use a cms like joomla, typo3 etc., always use suexec. Suexec enables php and fcgi scripts to run under the user of the website instead of the apache user.
I install a few joomla sites: I do not use cgi or ssi I always use fastcgi I always SuExec I open a jailed shell for the user I copy across a tar of joomla and expand it Code: wget http://www.badbison.com/joomla.tar.gz tar -xvf joomla.tar.gz rm joomla.tar.gz Having done this, in your custom shell, under suExec, all your files will have all the correct permissions for joomla and it's components to run. Hope this helps
more information. when i login wich a jailed shell for the user, i login in the home directori, what directori I browse for I copy joomla tar and expand it?
Open your jailed shell Move to the root of the shell Code: cd .. cd .. Move to the web folder for that user Code: cd web You should now be in the web folder Execute the commands below Code: wget http://www.badbison.com/joomla.tar.gz tar -xvf joomla.tar.gz rm joomla.tar.gz Rm index.htm
This is a cumbersome way of navigating about the shell but may help. You can insert ls command to help feel your way around the shell jail. The web folder is where you put your typical files for the site. Also, be aware the commands here will wget a copy of my OLD version of joomla.