php5: Add the current directory to the include path.
[matthijs/servers/drsnuggles.git] / etc / php5 / cgi / php.ini.local
1 # This file contains local changes, so we can leave php5.ini to the Debian
2 # default. It is not directly used by PHP, but the update-php.ini script
3 # ensures it is put into the php.ini for each different domain.
4
5 # Put errors in the logfile
6 log_errors = On
7
8 # Don't display errors to the client 
9 display_errors = Off
10
11 # Add E_USER_NOTICE, so trigger_error calls without a level actually get
12 # logged.
13 error_reporting  =  E_ALL & ~E_NOTICE | E_USER_NOTICE
14
15 # Disable some features for increased security and reduced surprise.
16 allow_call_time_pass_reference = Off
17 register_long_arrays = Off
18 register_argc_argv = Off
19 magic_quotes_gpc = Off
20 enable_dl = Off
21 allow_url_fopen = Off
22
23
24 # Use conforming headers, not sure how useful this is, though 
25 cgi.rfc2616_headers = 1
26
27 # Conform to CGI spec
28 # Needed for lighttpd, see http://trac.lighttpd.net/trac/wiki/Docs%3AModCGI
29 cgi.fix_pathinfo = 1
30
31 # Include some global php libraries
32 include_path = "/var/www/php5-libs:."
33
34 # vim: set filetype=dosini: