Discussion:
Can't manage to make mod_chroot and php4-cgi to work.
Vincent Bolinard
2006-12-26 23:17:39 UTC
Permalink
Hello,

I'm running Debian 3.1 (stable) with Apache 2.0.54-5sarge1, mod_chroot
0.4-2 and php4-cgi 4.3.10-18.

If mod_chroot is not loaded, everything works fine, I can view my PHP
web pages in my browser.

But if I enable it, then there's a 503 error.
This is the Apache's error log file :
[error] [client 192.168.0.2] (13)Permission denied: unable to connect
to cgi daemon after multiple tries: /usr/lib/cgi-bin/php4

or

[error] [client 192.168.0.2] (13)Permission denied: unable to connect
to cgi daemon after multiple tries: /apache2-default/info.php

if I change the open_basedir option in php.ini.


Can you tell me what do I have to do to make it work ?
I've read the whole documentation and did what it tells.

Thank you.
Marek Gutkowski
2006-12-28 23:03:53 UTC
Permalink
Post by Vincent Bolinard
Hello,
I'm running Debian 3.1 (stable) with Apache 2.0.54-5sarge1, mod_chroot
0.4-2 and php4-cgi 4.3.10-18.
If mod_chroot is not loaded, everything works fine, I can view my PHP
web pages in my browser.
But if I enable it, then there's a 503 error.
[error] [client 192.168.0.2] (13)Permission denied: unable to connect
to cgi daemon after multiple tries: /usr/lib/cgi-bin/php4
or
[error] [client 192.168.0.2] (13)Permission denied: unable to connect
to cgi daemon after multiple tries: /apache2-default/info.php
It looks like you're using FastCGI or something similar. I'd like to see
your complete, unedited httpd.conf.

regards,
--
Marek Gutkowski
Loading...