About
Click here to check if anything new just came in.
June 04 2011
nginx+PHP的多域名配置
有朋友问如何配置nginx,支持多个域名。就有了这篇文章。
(...)
Read the rest of nginx+PHP的多域名配置 (169 words)
© David for 空想枫, 2011. |
Permalink |
No comment |
Add to
del.icio.us
Post tags: nginx, php, php-fpm
May 11 2011
nginx + php-fpm +mysql安装(Debian Squeeze VPS)
nginx: http://www.nginx.org</a><br />
php-fpm: <a http: href=" http:="" plugins="" target="\" wordpress-feed-statistics="" wp-content="">http://php-fpm.org
mysql : http://dev.mysql.com
apt source : http://www.dotdeb.org
(...)
Read the rest of nginx + php-fpm +mysql安装(Debian Squeeze VPS) (99 words)
© David for 空想枫, 2011. |
Permalink |
No comment |
Add to
del.icio.us
Post tags: debian, debian squeeze, mysql, nginx, php, php-fpm, vps
September 19 2010
升级到lighttpd 1.4.28-1碰到的问题
昨天在VPS上执行apt-get update,apt-get upgrade 升级时,在提示是否替换lighttpd的配置时全选yes后,出现所有网站无法访问,报403错误的问题。
检查lighttpd替换的配置,发现/etc/lighttpd/conf-available/fastcgi.conf 少了.php文件的部分。在新的配置文件里加入如下内容:
fastcgi.server = ( “.php” =>
((
“bin-path” => “/usr/bin/php5-cgi”,
“socket” => “/tmp/php.socket”,
“max-procs” => 2,
“idle-timeout” => 20,
“bin-environment” => (
“PHP_FCGI_CHILDREN” => “4″,
“PHP_FCGI_MAX_REQUESTS” => “10000″
),
“bin-copy-environment” => (
“PATH”, “SHELL”, “USER”
),
“broken-scriptfilename” => “enable”
))
)
重启lighttpd后,故障排除。
Related posts:
© David for 空想枫, 2010. |
Permalink |
No comment |
Add to
del.icio.us
Post tags: lighttpd, php
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...

