Commit e8376e54 authored by SpacePossum's avatar SpacePossum Committed by Fabien Potencier

Update nginx sample with PHP7 as default

parent 844b9241
...@@ -57,7 +57,7 @@ The **minimum configuration** to get your application running under Nginx is: ...@@ -57,7 +57,7 @@ The **minimum configuration** to get your application running under Nginx is:
# location ~ ^/(index|index_dev)\.php(/|$) { # location ~ ^/(index|index_dev)\.php(/|$) {
location ~ ^/index\.php(/|$) { location ~ ^/index\.php(/|$) {
# the ubuntu default # the ubuntu default
fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php/phpX.X-fpm.sock;
# for running on centos # for running on centos
#fastcgi_pass unix:/var/run/php-fpm/www.sock; #fastcgi_pass unix:/var/run/php-fpm/www.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