Security and Safe ModeThe PHP INI file enables
mode_exec_dirDefault: Empty not definedAllowed: Path to directory (/directory/path) This setting defines a specific path of files that are allowed to be executed by exec family functions: exec, shell_exec, and so on. safe_mode_allowed_env_varsDefault: PHP_ Allowed: Colon-delimited list of prefixesThis setting allows only the listed environment variables to be modified. WARNINGUsing the default PHP_ setting allows any environment variable to be modified, which caninduce a security risk. safe_mode_protected_env_varsDefault: LD_LIBRARY_PATHAllowed: Path or environment variable pathA colon-delimited list of environment variables that the user will not be able to modify by using the putenv function. These variables will be protected even if the safe_mode_allowed_ env_vars setting is set to allow changes to them. open_basedirDefault: Empty not definedAllowed: Path to directory (/directory/path) This setting limits all file changes to the defined directory. This setting should really be used in a virtual hosting or directory configuration. NOTEThe open_basedir setting is independent of the safe_mode directive, which means that itdoes not matter whether safe_mode is on or off. disable_functionsDefault: Empty not definedAllowed: Comma-delimited list of function namesThis setting enables you to disable specified functions.
Hint: If you are looking for very good and affordable webspace to host and run your j2ee hosting application check Virtualwebstudio j2ee web hosting services