PHP safe mode

From PMWH2 - PHPMyWebHosting's official wiki
Revision as of 18:16, 13 February 2006 by Chris (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/