php: Don't use ( in comment in the custom config.
[matthijs/servers/drsnuggles.git] / etc / php5 / cgi / php.ini.local
index c88e4d8c966ac8ceb4baa7103de8921b6e5012ae..eda3532bc831e5cc193fc992f8427e43bdc5187e 100644 (file)
@@ -7,3 +7,28 @@ log_errors = On
 
 # Don't display errors to the client 
 display_errors = Off
+
+# Add E_USER_NOTICE, so trigger_error calls without a level actually get
+# logged.
+error_reporting  =  E_ALL & ~E_NOTICE | E_USER_NOTICE
+
+# Disable some features for increased security and reduced surprise.
+allow_call_time_pass_reference = Off
+register_long_arrays = Off
+register_argc_argv = Off
+magic_quotes_gpc = Off
+enable_dl = Off
+allow_url_fopen = Off
+
+
+# Use conforming headers, not sure how useful this is, though 
+cgi.rfc2616_headers = 1
+
+# Conform to CGI spec
+# Needed for lighttpd, see http://trac.lighttpd.net/trac/wiki/Docs%3AModCGI
+cgi.fix_pathinfo = 1
+
+# Include some global php libraries
+include_path = "/var/www/php5-libs"
+
+# vim: set filetype=dosini: