To adjust the PHP configuration in cPanel, you can utilize the MultiPHP INI Editor feature, which allows you to modify various PHP settings easily. Here’s a step-by-step guide on how to do this:
- Log into cPanel using the steps mentioned in https://secure.lightningbase.com/index.php/knowledgebase/6/How-to-Access-cPanel.html
- Navigate to MultiPHP INI Editor: In the Software section, look for and click on MultiPHP INI Editor.
- Select the Domain: From the dropdown menu, select the domain for which you want to change the PHP settings.
- Modify PHP Settings: Locate the parameters you wish to adjust.
Common parameters include:
1. upload_max_filesize: This sets the maximum file size that can be uploaded.
2. post_max_size: This must be larger than upload_max_filesize.
3. memory_limit: Should be larger than post_max_size.
- Enter your desired values. You can use shorthand (M for megabytes).
- Click on the Apply button at the bottom of the page to save your settings.
