In this article, I’m going to show you how to increase your PHP memory limit. First, make sure that you have a PHP ini file in your public HTML. You can check this by using your file manager to browse your files. Go to the file management section of your cPanel and click the file manager icon, I’m in my public HTML and I’m just going to scroll down to see. If I have a PHP ini file, if you don’t have one, we can just generate a new one.
Go back to your cPanel and scroll to the software services section now: click the PHP config icon. All you need to do here is click. Save Changes at the bottom of the page. Now go back to your file manager. Make sure you reload the page. If you still had it open now, when I scroll down, I should have a PHP ini file, I’m going to select the file and click code editor. You need to search through the file to find the memory limit, press ctrl, + F, if you are on a Windows, PC or command F.
Bluehost.com/blog/static/e57e425fb3dad2ad30f4de29f9676361/16310/Social-Templates-27-1.jpg” style=”width:500px”>Bluehost-pricing-1.jpg” style=”width:500px”>
If you are on a Mac search for memory underscore limit once you found it in the document enter the new limit, it isn’t recommended to go above 128 megabytes make sure to save your changes, and there you go. That’s how you would increase the memory limit of your PHP applications. You