Archive for October, 2013

memo: install nginx on ubuntu and use sock

October 9th, 2013

$ sudo apt-get install nginx
$ sudo apt-get install php5 php5-fpm ...

edit /etc/php5/fpm/pool.d/www.conf, and chenge
listen = 127.0.0.1:9000
to
listen = /var/run/php-fpm.sock