FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php
SessionTimeout = 30
}
VirtualHost {
...
TimeForCGI = 5
UseFastCGI = PHP5
ExecuteCGI = yes
TriggerOnCGIstatus = no
}
Server = /usr/local/bin/php-cgi ; 127.0.0.1:2005 ; www-data ; /usr/local/etc/php.ini
hiawatha# telnet localhost 2005
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Operation not permitted
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root sshd 86855 3 tcp4 10.1.1.3:22 *:*
www-data hiawatha 86842 3 tcp4 10.1.1.3:80 *:*
www-data php-cgi 86838 3 tcp4 10.1.1.3:2005 *:*
www-data php-cgi 86837 3 tcp4 10.1.1.3:2005 *:*
www-data php-cgi 86836 3 tcp4 10.1.1.3:2005 *:*
www-data php-cgi 86835 3 tcp4 10.1.1.3:2005 *:*