php.ini is a configuration file that controls PHP behavior. Settings can affect memory usage, uploads, error reporting, and other application functions. Which settings you can change depends on the PHP version and hosting configuration.
Change a setting for your website
- Confirm the setting required by your application.
- In cPanel, open MultiPHP INI Editor, if available.
- Select the correct domain and note the existing value.
- Change only the necessary setting, save it, and test the affected function.
For uploads, upload_max_filesize limits an individual file, while post_max_size limits the whole request and must allow for the file plus form data. The website, application, or proxy can impose additional limits.
If the setting is unavailable or the change does not take effect, contact us. A different application setting, administrator restriction, or PHP handler may be involved. Avoid repeatedly raising limits without finding the cause.
Avoid old configuration recipes
Creating a php.ini file in your home directory does not necessarily change the configuration for every website. Depending on the handler, settings may involve php.ini, .user.ini, or administrator-managed configuration. Do not copy an entire default configuration or add old suPHP rules without checking the current setup.
Keep public error display disabled on a live site. Share relevant error messages with support rather than publishing a configuration report.
Need help? Open a support ticket. Include the affected domain and the exact error message, but do not include your password.