php.ini settings
Add or change PHP settings such as memory limit and upload size for a website.
What you can do
- Add your own php.ini directives for a website, such as
memory_limitorupload_max_filesize - Change or remove directives you have added
What you cannot do
- Go beyond the memory and CPU limits your hosting provider has set for the website, whatever value you enter in php.ini (Only your hosting provider can do this.)
- Edit the server-wide PHP configuration (Only your hosting provider can do this.)
Depends on your package
- Whether the php.ini editor is shown
The php.ini file holds PHP’s settings. The editor lets you add settings for one website without editing files.
Add a directive
Section titled “Add a directive”- Open the website and select Advanced > Developer tools.
- Scroll to php.ini editor and select Add directive.
- Enter the Directive name, for example
upload_max_filesize. - Enter the Value, for example
64M. - Select Create.
The directive appears in the list. If the change does not take effect straight away, select Restart in the PHP section.
Common directives
Section titled “Common directives”| Directive | What it controls | Example |
|---|---|---|
memory_limit |
Memory one PHP request may use | 256M |
upload_max_filesize |
Largest single file upload | 64M |
post_max_size |
Largest form submission. Set it at least as large as upload_max_filesize |
64M |
max_execution_time |
Seconds a script may run | 120 |
max_input_vars |
Number of form fields accepted | 3000 |
display_errors |
Show errors on the page. Keep Off on a live site |
Off |
If there is no php.ini editor
Section titled “If there is no php.ini editor”Your package does not include it. Ask your hosting provider to change the setting, or to add the editor to your package.
Checked against Enhance 12.28.0 on 2026-12-01: observed in the panel.