ngix
##安装笔记## 1:php-fpm(5.4.4)
./configure –prefix=/usr/local/php5.4.4 –with-mysql –with-mysqli –enable-fpm –with-jpeg-dir –with-png-dir –with-zlib –with-libxml-dir –enable-xml –disable-debug –enable-mbstring && make && make install
[source] cp php.ini-production /usr/local/php5.4.4/lib/php.ini
[target] cp etc/php-fpm.default etc/php-fpm; user=www-data,group=www-data
[target] ./sbin/php-fpm
2: nginx(1.3.2):
./configure –prefix=/usr/local/nginx1.3.2 –user=www-data –group=www-data –with-http_stub_status_module –without-http_rewrite_module –with-http_ssl_module –with-pcre && make && make install
[target] conf/nginx.conf [include fasctcgi_params]=>[include fastcgi.conf]
如果没有改nginx的配置,导致解析php文件一直返回: file not found。