> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to increase or decrease PHP Memory Limit via CloudLinux Selector in cPanel?

You can modify [PHP](https://help.ex2.com/en/article/what-is-php-and-what-is-it-used-for-x4xvdq/?bust=1784054117446) Memory Limit as per your needs using [CloudLinux](https://help.ex2.com/en/article/what-is-the-cloudlinux-os-1v8651h/?bust=1784568161284) PHP Selector in [cPanel](https://help.ex2.com/en/article/what-is-cpanel-vq3toz/?bust=1784206091492).

# Here's how increase or decrease PHP Memory Limit via CloudLinux Selector in cPanel

1. [Log into your cPanel interface](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-account-xyoqm0/?bust=1676305236426) "https://www.domainname.com:2083" or by going through your client area.

2. In the Software section, click the Select PHP Version.

![](https://www.ex2.com/clients/img/cP-CL-Select-PHP-Version-icon.gif)

3. Click on the Options menu.

![](https://www.ex2.com/clients/img/CL-options-menu.gif)

Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first.

4. Look for memory_limit and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.

![](https://www.ex2.com/clients/img/CL-increase-decrease-PHP-memory-limit.gif)