• Services
    • Web Hosting
    • Reseller Hosting
    • VPS Hosting
    • Dedicated Hosting
  • Domains
  • Features
  • Company
    • About Us
    • Server Locations
    • Affiliates
    • Company Blog
  • Support
  • Client Login
  • Services
    • Web Hosting
    • Reseller Hosting
    • VPS Hosting
    • Dedicated Hosting
  • Domains
  • Features
  • Company
    • About Us
    • Server Locations
    • Affiliates
    • Company Blog
  • Support
  • Client Login
Home/Article/Web Hosting/PHP/How to increase the PHP Memory Limit in cPanel

How to increase the PHP Memory Limit in cPanel

Written by VernalWeb
November 3, 2020

There are some situations when you are having limit on your php memory and you are asked to increase the php memory limit.

The memory_limit is a setting managed through the PHP Options which max amount of memory a script may consume. This value should be set at least as big as post_max_size.

Although we don’t allow users direct changes to php.ini on our servers, PHP configuration changes can be made from cPanel by the following method.

1. Login to your cPanel account.

2. Under the SOFTWARE section,  click on Select PHP version

Select PHP Version
cPanel > Software > Select PHP Version

3. In the new window click on the Switch To PHP Options button.

Switch To PHP Options
Select PHP Version > Switch to PHP Options

4. In the new window click on the Switch To PHP Options button.

memory_limit

5. A dropdown menu or text input box will appear, allowing you to change the value as required. Now insert your required value in the box.

6. Once you’ll do the change, the new value will be automatically updated. If the change was successful, you will see a green box with a message which will confirm that the change has been applied.

Tags:php memory

Was this helpful?

Yes  No
Related Articles
  • How to Edit the php.ini File in cPanel
  • How to Enable ionCube Loader in cPanel PHP Extension
  • Changing your PHP Settings in cPanel
  • Changing your PHP Version in cPanel

Didn't find your answer? Submit Ticket

Latest Articles

  • How to show Hidden Files (.htaccess) in cPanel File Manager
  • Setup a Domain Redirection in cPanel
  • Create a MySQL Database and a User from cPanel
  • Remove page extensions using .htaccess
  • Cron Job Usage & Policy
  • © 2014 - 2025 VernalWeb. All rights reserved.