When do use suexec

Discussion in 'General' started by bseibenick, Jan 7, 2010.

  1. bseibenick

    bseibenick New Member

    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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. 007007

    007007 New Member

    we must also enable:

    CGI, SSI, Ruby?

    I have a joomla / ipb with over 10,000 members
     
  4. Toucan

    Toucan Member

    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
     
  5. 007007

    007007 New Member

    thx

    what utility of cgi, ssi and ruby ?
     
  6. qb7

    qb7 New Member

    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?
     
  7. qb7

    qb7 New Member

    Can you post step by step this solution?
    Thank for all guy..
     
  8. Toucan

    Toucan Member

    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
    
     
  9. Toucan

    Toucan Member

    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.
     

Share This Page