brew install fcgi
yum check-update
sudo yum -y install fcgi
cgi-fcgi
# PHPBrew
phpbrew fpm current
cgi-fcgi -bind -connect 127.0.0.1:9000
# Ping
SCRIPT_NAME=/ping \
SCRIPT_FILENAME=/ping \
REQUEST_METHOD=GET \
cgi-fcgi -bind -connect 127.0.0.1:9000
# Status
SCRIPT_NAME=/status \
SCRIPT_FILENAME=/status \
QUERY_STRING= \
REQUEST_METHOD=GET \
cgi-fcgi -bind -connect 127.0.0.1:9000