PHP safe mode

From PMWH2 - PHPMyWebHosting's official wiki
Jump to: navigation, search

When you run PHP with safe_mode = On you must also set safe_mode_allowed_env_vars and safe_mode_exec_dir in your php.ini to

php.ini


  • safe_mode_allowed_env_vars = LC_ALL,LANG,LANGUAGE,PHP_
  • safe_mode_exec_dir = /usr/bin/