3. PHP

安装:
apt-get install php5-fpm php5-mysql
 
配置:
vi /etc/php5/fpm/php.ini
cgi.fix_pathinfo=0
 
vi /etc/php5/fpm/pool.d/www.conf
user = www-data
group = www-data
listen = /var/run/php5-fpm.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0666
 

你可能感兴趣的:(PHP)