Adjusting PHP Settings¶
Use this page when a website needs a PHP version change or a PHP setting adjusted
from cPanel. Depending on the account, the relevant tool may be named
MultiPHP INI Editor, PHP Selector, Select PHP Version, or Manage PHP
Settings.
PHP Tasks¶
-
Change PHP version
Move a domain to a newer or older PHP version from
MultiPHP Manager. -
Adjust PHP options
Update memory, upload size, execution time, input variables, or other
php.inivalues. -
Fix PHP errors
Match common PHP warnings and limits to the setting that usually fixes them.
-
WordPress PHP warning
Resolve the WordPress "PHP Update Recommended" notice.
Errors And Limits¶
-
Common website errors
Find fixes for common website errors.
-
Memory and upload limits
Increase
memory_limit,upload_max_filesize,post_max_size, or execution time.
Change The PHP Version¶
Use MultiPHP Manager when a site needs to run on a different PHP version.
- Log in to cPanel.
- Open
MultiPHP Manager. - Select the domain or domains you want to change.
- Choose the PHP version from the dropdown. For example, PHP 8.2 is listed as
ea-php82. - Select
Apply. - Test the site. If something breaks, return to
MultiPHP Managerand switch back.
Test after changing versions
Plugins, themes, and older applications may not support every PHP version. Check the site immediately after changing versions, especially forms, checkout flows, login pages, and admin pages.
Legacy PHP Versions¶
Fused can currently provide PHP versions as old as 5.6 in cPanel. If a site needs something older than that, contact Fused.
Change PHP Settings¶
Use the cPanel PHP settings tool for common PHP settings. This is usually safer
than editing a php.ini file by hand. On most accounts this appears as
MultiPHP INI Editor, PHP Selector, Select PHP Version, or Manage PHP
Settings.
- Log in to cPanel.
- Open
MultiPHP INI Editor,PHP Selector,Select PHP Version, orManage PHP Settings. - Select the domain from the dropdown.
- Use
Basic Modefor common settings such as memory and upload limits. - Use
Editor Modeonly when you know the exactphp.inidirective you need. - Apply or save the change, then test the site.
Stick with Basic Mode
Unless you are already comfortable editing php.ini, use Basic Mode. It
covers the settings most sites need and reduces the chance of a syntax error.
Common Settings¶
| Setting | What it affects | Common reason to change it |
|---|---|---|
memory_limit |
Maximum memory a PHP process can use. | WordPress admin errors, plugin updates, large imports. |
upload_max_filesize |
Largest file PHP accepts in one upload. | Uploading larger media, themes, plugins, or backups. |
post_max_size |
Largest HTTP POST request PHP accepts. | Forms or uploads larger than upload_max_filesize. |
max_execution_time |
Maximum runtime for a PHP request. | Imports, exports, backups, or long-running plugin actions. |
max_input_vars |
Number of form/input fields PHP accepts. | Large menus, page builders, translation plugins, complex forms. |
disable_functions |
PHP functions blocked for security. | Trusted scripts that require a specific disabled function. |
Direct php.ini Edits¶
You can also create or edit a php.ini file in a site's document root using
shell, SFTP, SSH, or the cPanel file manager. Use that path only when cPanel's
Basic Mode does not expose the setting you need.
Do not copy random php.ini snippets
Some PHP directives are version-specific or disabled for security reasons. If you are not sure what a directive does, contact Fused before adding it.
Related Guides¶
-
Common website errors
-
WordPress performance