Login to your cPanel account
Click Select PHP Version in the Software section
3. In the new window, switch to Options tab
4. Locate the memory_limit and click on to change the value (recommended 1024M or 1G)
memory_limit