HOWTO: PHP configuration

When using PHP with Hiawatha, make sure you use the following PHP settings in php.ini.

cgi.fix_pathinfo = 0
cgi.rfc2616_headers = 0

The following settings are not required, but recommended.

# Enable GZip content encoding
zlib.output_compression = On
zlib.output_compression_level = 6

# Security settings
expose_php = Off
display_errors = Off
register_globals = Off
magic_quotes_gpc = Off
allow_url_include = Off