Skip to Content
Browse documentation

Modify Website PHP INI Settings in UAPP

Understand every UAPP PHP INI editor field, accepted limit formats, form fallback values, confirmation and application checks.

Open PHP → PHP INI Settings, then Modify PHP INI settings for a website. Verify the website name above the form.

These values override provider defaults for the selected website. The editor submits the full form, so review every field before saving.

Feature directives

Each switch submits on or off.

FieldPurpose
allow_url_fopenAllows URL-aware file wrappers to access remote resources.
allow_url_includeAllows remote content inclusion through URL-aware wrappers where supported.
display_errorsDisplays PHP errors in website output.
enable_dlRequests dynamically loaded PHP extensions where supported.
file_uploadsEnables HTTP file uploads.
zlib.output_compressionRequests compressed PHP output.
Zend OPcacheControls the editor's OPcache setting; disabling it writes explicit disable directives.

When no custom value exists, the first six switches appear off and OPcache appears on. These are editor fallback states, not a measurement of effective server defaults. A switch cannot make a removed directive or unavailable extension supported by the selected runtime.

Resource and input limits

FieldAccepted inputEditor fallback when absent
max_execution_timeInteger 1–200000; seconds300
max_input_timeInteger 1–200000; seconds120
max_input_varsInteger 1–200000; variable count1000
memory_limitDigits followed by uppercase M, such as 512M512M
post_max_sizeDigits followed by uppercase M20M
session.gc_maxlifetimeInteger 1–200000; seconds1440
upload_max_filesizeDigits followed by uppercase M200M
disable_functionsOptional comma-separated function names; maximum 512 charactersEmpty

Memory and size fields are required, with a server-side maximum length of 20 characters. Use values such as 128M; lowercase m, G, decimals and -1 do not match this form's accepted format.

For disable_functions, use names such as exec,passthru,shell_exec. Each name starts with a letter or underscore and continues with letters, digits or underscores. Do not insert spaces, parentheses or a trailing comma. Review the existing list before replacing it.

Review related limits together

The editor falls back to a 200M per-file upload limit but a 20M POST limit. These are form values, not a working upload-size guarantee. Choose compatible limits for the application's complete request and available resources, then test an actual upload. Other server limits may also apply.

Save changes

  1. Review all switches and limits, including existing values you intend to retain.
  2. Select Save PHP INI Settings.
  3. Verify the website in the confirmation dialog.
  4. Select Save Settings.
  5. Read any validation errors or result message and test the website.

The website must belong to the account and the multiple-PHP feature must remain enabled. Invalid input prevents saving. On a backend failure, refresh before retrying because configuration may have been recorded before rebuilding failed.

Do and do not

Keep public error display off on a production website unless you have a controlled reason to expose it. Enable remote-content capabilities only when the application requires them. Increase resource limits deliberately; this form does not allocate additional account resources.

Do not treat session cleanup lifetime as a guaranteed sign-in duration. Do not assume enabling OPcache here installs or loads the extension; effective behavior also depends on the runtime and provider configuration.

To remove all custom overrides, return to PHP INI Settings and use its reset action.