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.
| Field | Purpose |
|---|---|
allow_url_fopen | Allows URL-aware file wrappers to access remote resources. |
allow_url_include | Allows remote content inclusion through URL-aware wrappers where supported. |
display_errors | Displays PHP errors in website output. |
enable_dl | Requests dynamically loaded PHP extensions where supported. |
file_uploads | Enables HTTP file uploads. |
zlib.output_compression | Requests compressed PHP output. |
| Zend OPcache | Controls 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
| Field | Accepted input | Editor fallback when absent |
|---|---|---|
max_execution_time | Integer 1–200000; seconds | 300 |
max_input_time | Integer 1–200000; seconds | 120 |
max_input_vars | Integer 1–200000; variable count | 1000 |
memory_limit | Digits followed by uppercase M, such as 512M | 512M |
post_max_size | Digits followed by uppercase M | 20M |
session.gc_maxlifetime | Integer 1–200000; seconds | 1440 |
upload_max_filesize | Digits followed by uppercase M | 200M |
disable_functions | Optional comma-separated function names; maximum 512 characters | Empty |
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
- Review all switches and limits, including existing values you intend to retain.
- Select Save PHP INI Settings.
- Verify the website in the confirmation dialog.
- Select Save Settings.
- 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.