This guide explains how to increase the PHP memory limit. The ‘memory_limit’ is a PHP setting that determines the maximum amount of memory a script can use. It should be set to a value at least as large as post_max_size. Though direct changes to php.ini are not allowed on our servers, you can adjust PHP configuration settings through cPanel.
Follow the simple steps:
- Log in to cPanel.
- Select the “Software” section and click on the “Select PHP Version”.
- You will be directed to a new page. Select the “Options” tab.
- Locate memory_limit and click on the dropdown menu beside it.
- This menu allows you to change the value as needed.
- Refer to your script, plugin, or theme’s requirements to set the correct value.
- Once you make the change, the new value will be automatically updated.
- If successful, a green box will appear at the top-right corner of your screen, confirming that the change has been auto-saved.
Important note- Only change the ‘memory_limit’ when absolutely necessary. For access, it is best to keep permissions as strict and minimal as possible.
This way, you can increase the PHP memory limit. If you require additional assistance, feel free to contact our support staff.