≡ Menu

Shell Script To Start FastCGI PHP Server For Nginx Web Server

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

{ 1 comment… add one }
  • 2ker June 24, 2009, 10:03 am

    Very helpful – thanks!

Security: Are you a robot or human?

Leave a Comment