Re: Explain me about the Safe Mode in PHP?
The following are the configuration directives with an explanation :
- safe_mode boolean - Whether to enable the security mode for PHP. If PHP is compiled with - enable-safe-mode, the default is On, Off otherwise.
- safe_mode_gid boolean - By default, Safe Mode does a UID compare check when opening a file. If you want to relax a bit this level of security, you can perform a comparison group, then turn on safe_mode_gid. If this directive is FALSE (the default) is a comparison of the UID, and if it is TRUE is a comparison of the GID.
- safe_mode_include_dir string - Audits based on the UID or GID are ignored when the included files are placed in the folder specified by this directive and its subfolders. Cases may also be in the include_path or it must include the full path.
- safe_mode_exec_dir string - If PHP is used in safe mode, functions like system () and all those that run in command line will refuse to run programs that are not in this folder. You must use / as directory separator in all environments, including Windows.
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks