![]() |
Error with suExec + FCGI
Hello all,
I folowed The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3] tutorial here: http://www.howtoforge.com/perfect-se...nny-ispconfig3 Everthing is working great, but when I enable suExec (I want to run php with users permissions, not with www-data) from the ISPConfig3 I start getting errors: ERROR 500 - Internal Server Error! Apache error log says: [warn] (104)Connection reset by peer:mod_fcgid: read data from fastcgi server error. [error] [client 74.212.42.75] Premature end of script headers: index.php If I disable suExec in ISPConfig it starts working again. Anybody knows what is the problem? |
Please take a look in the error log of the website were you enabled suexec.
|
This is the error log file of the site in question:
[warn] (104)Connection reset by peer:mod_fcgid: read data from fastcgi server error. [error] [client 74.212.42.75] Premature end of script headers: index.php [warn] mod_fcgid: read data timeout in 40 seconds [error] [client 74.212.42.75] Directory index forbidden by Options directive |
That sounds as if the FastCGI server isn't running. Did you try to restart Apache?
|
I restarted apache, but it does not help.
I noticed there is a suexec.log file in /var/log/apache2: Code:
[2009-04-24 07:34:52]: target uid/gid (5003/5003) mismatch with directory (5003/5004) or program (5003/5003) |
Looks as if your directory or file is owned by the wrong user. Please chown the directory and file to the web admin user and group of this site.
|
Thanks! Is was a permission problem. The group permission on folder was client0, but should have been client1.
There is however still a problem of timeout. The script timeouts after 40 seconds, however this value is not in php.ini. How can I increase it? |
| All times are GMT +2. The time now is 04:10. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.