Hi All ! After change apache from standard instalation (falko's perfect setup on debian lenny) to mpm-itk i heave problem with apache server. Test file: index.php with content: <? phpinfo(); ?> On CGI mode works fine. On Mod-PHP mode works fine. On Fast-CGI mode in error log: [Wed Aug 18 10:04:25 2010] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 5726 On SuPHP mode in error log: [Wed Aug 18 10:11:19 2010] [error] SecurityException in Application.cpp:162: Calling user is not webserver user! [Wed Aug 18 10:13:36 2010] [error] Premature end of script headers: index.php CGI with Suexex mode: [Wed Aug 18 10:14:23 2010] [error] (13)Permission denied: exec of '/usr/lib/apache2/suexec' failed [Wed Aug 18 10:14:23 2010] [error] Premature end of script headers: php-cgi-starter ISPC 3.0.2.2 Anyone has solution for this ?
-rwxr-xr-- 1 web55 client7 19 Aug 18 10:22 index.php manualy added web55 to group www-data uid=5015(web55) gid=5008(client7) groups=5008(client7),33(www-data),5002(sshusers) still the same errors after change php setting from FCGI to SuPHP user web55 is removed from www-data ...
Why do you run php as cgi with suphp or suexec after you installed mpm_itk? Is there a special need for that?
no, it isn't ... i'm trying all possibilities. if cannot run with that options - It should not be available
I think I don't understand you there. If one has mpm-itk configured correctly and thereby the apache process already changed it's ID, how is suexec or suphp suppose to change it again? That's simply pointless and has nothing to do with trying all options. You won't combine the same function 3 times and complain about the last 2 failing because it is already done?
ok, You know that, i know it now too, but "client" not necessarily ... webpanel should prevent from stupid options don't You think ?
When you create the client, you can choose what options are available to him. Leaving only mod-php solves the problem.
And thats why the administrator can limit the available php options for the client... See client limits.