Update sample-nginx.config
authorAndy H3 <andy@hubup.pro>
Wed, 16 May 2018 04:10:19 +0000 (11:10 +0700)
committerGitHub <noreply@github.com>
Wed, 16 May 2018 04:10:19 +0000 (11:10 +0700)
Updated default path to PHP7.0

PHP5.0 is not considered standard any more.

mods/sample-nginx.config

index 6bf75bd..a6760c0 100644 (file)
@@ -126,8 +126,8 @@ server {
     # With php5-cgi alone:
     # fastcgi_pass 127.0.0.1:9000;
 
-    # With php5-fpm:
-    fastcgi_pass unix:/var/run/php5-fpm.sock;
+    # With php7.0-fpm:
+    fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
 
     include fastcgi_params;
     fastcgi_index index.php;