Created
May 12, 2012 15:37
-
-
Save yishenggudou/2667191 to your computer and use it in GitHub Desktop.
php-fastcgi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FASTCGI_USER=www-data #需要和nginx的一至 查看/etc/group /etc/passwd | |
FASTCGI_GROUP=www-data | |
SOCKET=/var/run/php-fastcgi/php-fastcgi.socket | |
PIDFILE=/var/run/php-fastcgi/php-fastcgi.pid | |
CHILDREN=6 | |
PHP5=/usr/bin/php5-cgi #需要查看自己的php版本或许为php-cgi | |
/usr/bin/spawn-fcgi -s $SOCKET -P $PIDFILE -C $CHILDREN -u $FASTCGI_USER -g $FASTCGI_GROUP -f $PHP5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/usr/bin/spawn-fcgi
下载需要
http://docs.linuxtone.org/soft/lemp/ImageMagick.tar.gz
http://docs.linuxtone.org/soft/lemp/PDO_MYSQL-1.0.2.tgz
http://docs.linuxtone.org/soft/lemp/eaccelerator-0.9.5.3.tar.bz2
http://docs.linuxtone.org/soft/lemp/imagick-2.2.2.tgz
http://docs.linuxtone.org/soft/lemp/libiconv-1.13.tar.gz
http://docs.linuxtone.org/soft/lemp/libmcrypt-2.5.8.tar.gz
http://docs.linuxtone.org/soft/lemp/mcrypt-2.6.8.tar.gz
http://docs.linuxtone.org/soft/lemp/memcache-2.2.5.tgz
http://docs.linuxtone.org/soft/lemp/mhash-0.9.9.9.tar.gz
http://docs.linuxtone.org/soft/lemp/mysql-5.1.34.tar.gz
http://docs.linuxtone.org/soft/lemp/pcre-7.8.tar.gz
http://www.lighttpd.net/download/spawn-fcgi-1.6.3.tar.gz
http://docs.linuxtone.org/soft/lemp/php-5.2.9.tar.bz2
http://sysoev.ru/nginx/nginx-0.8.21.tar.gz
http://docs.linuxtone.org/soft/lemp/ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz