From: Matthijs Kooijman Date: Thu, 19 Aug 2010 20:56:50 +0000 (+0200) Subject: php: Don't use ( in comment in the custom config. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=80041188d2d65a3603deb68a47bd9f26c4bc19c9;p=matthijs%2Fservers%2Fdrsnuggles.git php: Don't use ( in comment in the custom config. For some weird reason, using a ( in a comment in my local php.ini makes PHP stop parsing the php.ini right there. Not sure why that is... It seems that using parentheses is ok in the main config file. Perhaps it's because the custom config isn't in the [PHP] section (but creating a second [PHP] section doesn't help either...) --- diff --git a/etc/php5/cgi/php.ini.local b/etc/php5/cgi/php.ini.local index da03246..eda3532 100644 --- a/etc/php5/cgi/php.ini.local +++ b/etc/php5/cgi/php.ini.local @@ -21,11 +21,11 @@ enable_dl = Off allow_url_fopen = Off -# Use conforming headers (not sure how useful this is, though) +# Use conforming headers, not sure how useful this is, though cgi.rfc2616_headers = 1 # Conform to CGI spec -# Needed for lighttpd (http://trac.lighttpd.net/trac/wiki/Docs%3AModCGI) +# Needed for lighttpd, see http://trac.lighttpd.net/trac/wiki/Docs%3AModCGI cgi.fix_pathinfo = 1 # Include some global php libraries