Basic Mode

For WHM version 11.32

This editor allows you to access and edit 11 options regarding your PHP configuration. Remember to click Save when you are finished making your changes.

Directive Description
upload_max_filesize Defines the maximum file size for an upload in bytes. This feature is capable of accepting the character ‘M’ to define the limit in Megabytes. (Example: 2M limits the file size to 2 Megabytes — the default setting.)
include_path Lists a path or paths where your PHP functions will look for files when certain functions are used. You can separate the directory paths with a colon (:) in a *nix system or a semicolon (;) in the Windows® environment. (Example: .:/example/path1:/example/path2)
file_uploads Describes whether or not HTTP file uploads are possible for your PHP scripts. Select Off to disallow file uploads or On to allow them. This feature is On by default.
asp_tags Allows PHP scripts to use ASP-like tags in addition to the usual tags. This includes the variable-value printing shorthand of <%= $value %>.
memory_limit Limits the amount of memory that scripts can allocate, described in bytes. This aids in preventing poorly written scripts from using too much memory. This feature is capable of accepting the character ‘M’ to define the limit in Megabytes. (Example: 32M limits the allocation of memory to 32 Megabytes — the default setting.)
register_globals This defines whether or not the Environment, GET, Post, Cookie, and Server variables can be defined as global variables (variables accessible at every level of the application). Select Off or On. This feature is Off by default.
ALERT! Warning: This is a deprecated feature that, if enabled, can pose serious security risks for your server. Leaving this directive set to Off is highly recommended.
max_execution_time Defines, in seconds, the maximum amount of time a script is allowed to run before it is terminated. This prevents poorly written scripts from tying up the processing power of your server. The default value is 30 seconds.
max_input_time Defines the maximum amount of time, in seconds, a script is allowed to parse input data. The default value is 60 seconds.
enable_dl Setting this to On allows users to employ the dl function in their scripts, which dynamically loads a PHP extension at runtime.
ALERT! Warning: Setting this directive to On poses security risks to your server. We recommend you turn it Off unless enabling it is absolutely necessary.
safe_mode This feature prevents users from executing PHP scripts that do not belong to them. For example, if the user cPanel1 owns example.php, a user known by another alias will not be able to execute example.php. You must click Default, Click to Edit to edit this feature.
session.save_path This directive describes where user session information is stored. Format your entry like N;/path, where N represents the number of directories in which information is saved. (If the server gets a lot of traffic, distributing session data among several folders makes it easier for the server to save and retrieve the information.) In place of /path, enter the name of the directory that contains the subdirectories with the session information. The default value is /tmp. You must use a legitimate path to define this option. Read the php.net configuration manual for more information.

Topic revision: r5 - 27 Oct 2011 - 22:32:31 - Main.RosieArcelay
 

Copyright © cPanel 2000–2011.