Browse Source

Clean nginx.conf (#3648)

Joan Miquel 7 years ago
parent
commit
c2d9b540e3
49 changed files with 92 additions and 92 deletions
  1. 1 1
      frameworks/PHP/cakephp/deploy/conf/php.ini
  2. 3 3
      frameworks/PHP/cakephp/deploy/nginx.conf
  3. 1 1
      frameworks/PHP/clancats/deploy/conf/php.ini
  4. 2 2
      frameworks/PHP/clancats/deploy/nginx.conf
  5. 1 1
      frameworks/PHP/codeigniter/deploy/conf/php.ini
  6. 2 2
      frameworks/PHP/codeigniter/deploy/nginx-fpm.conf
  7. 1 1
      frameworks/PHP/codeigniter/deploy/nginx-hhvm.conf
  8. 1 1
      frameworks/PHP/cygnite/deploy/conf/php.ini
  9. 3 3
      frameworks/PHP/cygnite/deploy/nginx.conf
  10. 1 1
      frameworks/PHP/fat-free/deploy/conf/php.ini
  11. 3 3
      frameworks/PHP/fat-free/deploy/nginx.conf
  12. 1 1
      frameworks/PHP/fuel/deploy/conf/php.ini
  13. 3 3
      frameworks/PHP/fuel/deploy/nginx.conf
  14. 1 1
      frameworks/PHP/kohana/deploy/conf/php.ini
  15. 3 3
      frameworks/PHP/kohana/deploy/nginx.conf
  16. 1 1
      frameworks/PHP/kumbiaphp/deploy/conf/php.ini
  17. 3 3
      frameworks/PHP/kumbiaphp/deploy/nginx.conf
  18. 1 1
      frameworks/PHP/laravel/deploy/conf/php.ini
  19. 3 3
      frameworks/PHP/laravel/deploy/nginx.conf
  20. 1 1
      frameworks/PHP/limonade/deploy/conf/php.ini
  21. 3 3
      frameworks/PHP/limonade/deploy/nginx.conf
  22. 1 1
      frameworks/PHP/lithium/deploy/conf/php.ini
  23. 3 3
      frameworks/PHP/lithium/deploy/nginx.conf
  24. 1 1
      frameworks/PHP/lumen/deploy/conf/php.ini
  25. 3 3
      frameworks/PHP/lumen/deploy/nginx.conf
  26. 1 1
      frameworks/PHP/phalcon/deploy/conf/php.ini
  27. 3 3
      frameworks/PHP/phalcon/deploy/nginx.conf
  28. 1 1
      frameworks/PHP/php/deploy/conf/php.ini
  29. 3 3
      frameworks/PHP/php/deploy/nginx5.conf
  30. 3 3
      frameworks/PHP/php/deploy/nginx7.conf
  31. 1 1
      frameworks/PHP/phpixie/deploy/conf/php.ini
  32. 3 3
      frameworks/PHP/phpixie/deploy/nginx.conf
  33. 1 1
      frameworks/PHP/phreeze/deploy/conf/php.ini
  34. 3 3
      frameworks/PHP/phreeze/deploy/nginx.conf
  35. 1 1
      frameworks/PHP/silex/deploy/conf/php.ini
  36. 3 3
      frameworks/PHP/silex/deploy/nginx.conf
  37. 1 1
      frameworks/PHP/slim/deploy/conf/php.ini
  38. 3 3
      frameworks/PHP/slim/deploy/nginx-fpm-5.conf
  39. 3 3
      frameworks/PHP/slim/deploy/nginx-fpm-7.conf
  40. 2 2
      frameworks/PHP/slim/deploy/nginx-hhvm.conf
  41. 1 1
      frameworks/PHP/symfony/deploy/conf/php.ini
  42. 3 3
      frameworks/PHP/symfony/deploy/nginx.conf
  43. 1 1
      frameworks/PHP/workerman/deploy/conf/php.ini
  44. 1 1
      frameworks/PHP/yii2/deploy/conf/php.ini
  45. 1 1
      frameworks/PHP/yii2/deploy/nginx-fpm.conf
  46. 1 1
      frameworks/PHP/zend/deploy/conf/php.ini
  47. 2 2
      frameworks/PHP/zend/deploy/nginx.conf
  48. 1 1
      frameworks/PHP/zend1/deploy/conf/php.ini
  49. 2 2
      frameworks/PHP/zend1/deploy/nginx.conf

+ 1 - 1
frameworks/PHP/cakephp/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/cakephp/deploy/nginx.conf

@@ -1,10 +1,10 @@
-user root;
+user www-data;
 worker_processes  auto;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -52,7 +52,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/clancats/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 2 - 2
frameworks/PHP/clancats/deploy/nginx.conf

@@ -1,4 +1,4 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
@@ -33,7 +33,7 @@ http {
 		}
 
 		location ~ \.php$ {
-			try_files $uri =404;
+			 
 			fastcgi_pass   fastcgi_backend;
 			fastcgi_keep_conn on;
 			fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/codeigniter/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 2 - 2
frameworks/PHP/codeigniter/deploy/nginx-fpm.conf

@@ -1,4 +1,4 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
@@ -31,7 +31,7 @@ http {
     }
 
     location ~ \.php$ {
-      try_files $uri =404;
+       
       fastcgi_pass fastcgi_backend;
       fastcgi_keep_conn on;
       fastcgi_index index.php;

+ 1 - 1
frameworks/PHP/codeigniter/deploy/nginx-hhvm.conf

@@ -31,7 +31,7 @@ http {
     }
 
     location ~ \.php$ {
-      try_files $uri =404;
+       
       fastcgi_pass fastcgi_backend;
       fastcgi_keep_conn on;
       fastcgi_index index.php;

+ 1 - 1
frameworks/PHP/cygnite/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/cygnite/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/fat-free/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/fat-free/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/fuel/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/fuel/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/kohana/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/kohana/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/kumbiaphp/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/kumbiaphp/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/laravel/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/laravel/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/limonade/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/limonade/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/lithium/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/lithium/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/lumen/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/lumen/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/phalcon/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/phalcon/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/php/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/php/deploy/nginx5.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -49,7 +49,7 @@ http {
         index  index.php;
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 3 - 3
frameworks/PHP/php/deploy/nginx7.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -49,7 +49,7 @@ http {
         index  index.php;
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/phpixie/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/phpixie/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/phreeze/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/phreeze/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/silex/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/silex/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/slim/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/slim/deploy/nginx-fpm-5.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 3 - 3
frameworks/PHP/slim/deploy/nginx-fpm-7.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 2 - 2
frameworks/PHP/slim/deploy/nginx-hhvm.conf

@@ -5,7 +5,7 @@ error_log stderr error;
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -52,7 +52,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index index.php;

+ 1 - 1
frameworks/PHP/symfony/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 3 - 3
frameworks/PHP/symfony/deploy/nginx.conf

@@ -1,11 +1,11 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
 events {
     worker_connections 16384;
 	multi_accept on;
-	use epoll;
+	 
 }
 
 http {
@@ -53,7 +53,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/workerman/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 1 - 1
frameworks/PHP/yii2/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 1 - 1
frameworks/PHP/yii2/deploy/nginx-fpm.conf

@@ -1,4 +1,4 @@
-user root;
+user www-data;
 worker_processes auto;
 error_log stderr error;
 

+ 1 - 1
frameworks/PHP/zend/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 2 - 2
frameworks/PHP/zend/deploy/nginx.conf

@@ -1,4 +1,4 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
@@ -34,7 +34,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;

+ 1 - 1
frameworks/PHP/zend1/deploy/conf/php.ini

@@ -773,7 +773,7 @@ enable_dl = Off
 ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
 ; http://php.net/cgi.fix-pathinfo
-;cgi.fix_pathinfo=1
+ cgi.fix_pathinfo=0
 
 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
 ; of the web tree and people will not be able to circumvent .htaccess security.

+ 2 - 2
frameworks/PHP/zend1/deploy/nginx.conf

@@ -1,4 +1,4 @@
-user root;
+user www-data;
 worker_processes  auto;
 error_log stderr error;
 
@@ -34,7 +34,7 @@ http {
         }
 
         location ~ \.php$ {
-            try_files $uri =404;
+             
             fastcgi_pass   fastcgi_backend;
             fastcgi_keep_conn on;
             fastcgi_index  index.php;