HostMonster Custom PHP.INI
PHP.INI
PHP.ini is a file that contains settings to customize behavior of PHP interpreter or other related settings. HostMonster supports custom PHP.INI. For example register_globals can be turned on or off. Register_globals is an options that tells whether or not to register the contents of the Post, Cookie, Get and other variables be automatically registered as global variables. For example the url http://www.hostmonsterreviewme.com/?p=1 will automatically declare $p as global variable with value 1. This can be dangerous because an attacker can put anything he wants and possible bypass authentication. Some scripts like drupal require register_globals to be turned off in order to be installed. Other directives(settings, options) that are supported:
* log_errors
* error_log
* register_globals
* session.save_path
* upload_tmp_dir
* memory_limit
* upload_max_filesize
* post_max_size
* display_errors and display_startup_errors