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
... 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 ?
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.
Have a look at the PHP documentation. There you will find examples on how to run PHP as CGI in apache.
These tutorials might also give you some hints: http://www.howtoforge.com/apache2_with_php5_and_php4 http://www.howtoforge.com/apache2_suphp_php4_php5