Shell Script To Start FastCGI PHP Server For Nginx Web Server

in Categories Web Server last updated October 6, 2008

This script is tested under both FreeBSD and Linux. You need to modify paths and server port numbers.

How do I use this script

Download script
# fetch http://bash.cyberciti.biz/dl/251.sh.zip
# unzip 251.sh.zip
# mv 251.sh /usr/local/etc/rc.d/fastcgi.php
# chmod +x /usr/local/etc/rc.d/fastcgi.php

Sample nginx config – nginx.conf

Shell Script


Share this on:

1 comment

    Have a question? Post it on our forum!