Commit a102df4d authored by Fabien Potencier's avatar Fabien Potencier

minor #1398 Update nginx sample with PHP7 as default (SpacePossum)

This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1398).

Discussion
----------

Update nginx sample with PHP7 as default

welcome PHP7 :)

Commits
-------

e8376e54 Update nginx sample with PHP7 as default
parents 844b9241 e8376e54
...@@ -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