PHP Configuration in the Free GoAdmio Control Panel

PHP Configuration edits the most common php.ini settings for every PHP version on the server. Each field runs its own command, so there is no Save button. The settings fall into five groups: GoAdmio is a free, open-source hosting control panel, a drop-in alternative to cPanel and WHM.

Quick start

  1. Go to Server Management » PHP Configuration.
  2. Change a field, then click outside it. The change is applied as soon as you leave the field.
  3. Reload the page to confirm the new value.

To undo your changes, click Restore Default at the top of the page.

Fields

The Example column shows the value on a typical server. Restore Default puts every field back to its default. Where a command’s own default is known, it is given in Notes.

Resources

Field Example Notes
memory_limit -1 The most memory one script may use. -1 means unlimited, which is the command’s default.
max_execution_time 600 Seconds a script may run before PHP stops it. Default 600.

Input and uploads

Field Example Notes
max_input_time 600 Seconds PHP may spend parsing request data such as forms and uploads. Default 600.
max_input_vars 3000 The most input variables PHP accepts per request for each of GET, POST, and cookies. Default 3000.
post_max_size 64M The largest POST request body PHP accepts. Keep it at least as large as upload_max_filesize.
upload_max_filesize 64M The largest single file that can be uploaded. Default 64M.
max_file_uploads 100 The most files allowed in one upload request. Default 100.
file_uploads On On allows file uploads. Off turns them off for every site.

Sessions

Field Example Notes
session.gc_maxlifetime 28800 Seconds before an idle PHP session can be deleted. 28800 is 8 hours.

Security

Field Example Notes
allow_url_fopen On Lets PHP read remote files by URL.
allow_url_include Off Lets PHP include and run code from a URL. Leave it Off unless you have a specific need, because it is a common route for attacks.
disable_functions exec,mail,passthru,pcntl_exec,popen,proc_close,proc_get_status,proc_open,proc_terminate,shell_exec,system Comma-separated PHP functions that scripts may not use. Disabling mail stops PHP’s mail() function from working.

Errors and output

Field Example Notes
display_errors On On shows PHP errors in the page. On a live site, Off is safer because visitors can’t see error details.
error_reporting 5 A PHP error-level number. 5 is E_ERROR plus E_PARSE, so only fatal and parse errors are reported.
display_startup_errors Off On shows errors that happen while PHP starts.
zlib.output_compression Off On compresses PHP output with zlib.

Running into problems? See troubleshooting PHP Configuration.

See the docs page PHP Configuration for the details.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *