On Tue, Apr 21, 2015 at 9:02 PM, Richard Stanway <[email protected]> wrote: >> That guide seems obsolete. Use the php5-fpm package, > https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-debian-7 > looks like a more up to date guide (skip the mysql part if it isn't needed). > Hey! Thanks a lot! I was able to configure it following this tutorial.
My nginx conf ended up being like the attached file.
The only thing I have had to change from it was the
unix:/var/run/php5-fpm.sock back to 127.0.0.1:9000.
>From /usr/local/nginx/logs/error.log:
2015/04/21 23:25:47 [crit] 12184#0: *1 connect() to
unix:/var/run/php5-fpm.sock failed (13: Permission denied) while
connecting to upstream, client
: 192.168.0.101, server: tfarina.org, request: "GET /info.php
HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host:
"tfarina.org"
--
Thiago Farina
tfarina_org
Description: Binary data
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
