Commit 9a9d8371 authored by Daniel Stan's avatar Daniel Stan

(stretch) php7.0-fpm socket in nginx

parent 2de9efcb
upstream php-handler {
#server 127.0.0.1:9000;
server unix:/var/run/php5-fpm.sock;
server unix:/run/php/php7.0-fpm.sock;
}
server {
......
......@@ -21,10 +21,8 @@ server {
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php5-cgi alone:
#fastcgi_pass 127.0.0.1:9000;
# With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
# With php-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment