From 366afa1928c483eaa6fd9862e28cbd4bbda315f2 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 20 Jun 2017 14:34:11 -0500 Subject: Replace php-cgi example with php-fpm example. --- recipes-extended/lighttpd/lighttpd/lighttpd.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-extended/lighttpd/lighttpd/lighttpd.conf b/recipes-extended/lighttpd/lighttpd/lighttpd.conf index ad462f8..7fde9ca 100644 --- a/recipes-extended/lighttpd/lighttpd/lighttpd.conf +++ b/recipes-extended/lighttpd/lighttpd/lighttpd.conf @@ -206,12 +206,12 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) #### fastcgi module ## read fastcgi.txt for more info -## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini +## php-fpm is now the preferred method of doing fast cgi with php. #fastcgi.server = ( ".php" => # ( "localhost" => # ( -# "socket" => "/tmp/php-fastcgi.socket", -# "bin-path" => "/usr/local/bin/php" +# "socket" => "/var/run/php-fpm.socket", +# "broken-scriptfilename" => "enable" # ) # ) # ) -- cgit v1.2.3