Suexec Php5-cgi

Discussion in 'Installation/Configuration' started by edony44, Nov 13, 2006.

  1. edony44

    edony44 New Member

    Hi, I need some help about suexec and cgi
    I've seen that ispconfig has an option in management > web
    to enable suexec but i don't know why ... it doesn't work

    in fact i would like to use php5-cgi to have the same user in apache and in
    ftp ( user ) and as possible i would like it was made ONLY with ispconfig ( no chown or other shell command ) so i've seen if i use php-cgi i can do it ...

    Well so can you tell me what i need to do to make it work
    ( i've seen tutorial about php5-cgi but it doesn't work as i want .

    I've exactly run the perfect setup for ubuntu 6.10 i've try to add AddHandler in apache.conf but ... doesn't work !!!

    Thanks for helping
     
  2. edony44

    edony44 New Member

    ...

    I've try to uninstall mod_php and install php5-cgi but after that it's like i have no php installed ! where do i configure this ?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    If you want to use php with suexec, you will have to add the php CGI configuration manually in the apache directives field.

    I recommend to use SuPHP instead of SuEXEC. SuPHP is supported by ISPConfig directly and can be enabled in the config.inc.php file.
     
  4. edony44

    edony44 New Member

    Next -->

    and can anybody tell me what should i do to activate php5-cgi in apache ?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at the PHP documentation. There you will find examples on how to run PHP as CGI in apache.
     
  6. falko

    falko Super Moderator Howtoforge Staff

Share This Page