How to Drastically Speed Up Your Website by Increasing PHP Memory Limit

How to Drastically Speed Up Your Website by Increasing PHP Memory Limit


shared hosting slow

Foreword: This tutorial is a bit technical and requires some basic system administration understanding. Also, you would need a VPS or dedicated server since most shared hosting restrict access to modifying this.

That said, if you are running a WordPress, Magento, or any kind of PHP based website, increasing the PHP memory limit will drastically speed up your website. In fact, most configurations of Cpanel or any kind of web hosting control panel have low default PHP limits so even if your server let’s say has 4GB of memory, your website may only be limited to 128MB of memory or less.

In this tutorial, I will show you how to drastically speed up your website by increasing the PHP memory limit. I’m going to show you how to do it in WHM/cPanel.

If you need a VPS or Dedicated server, I highly recommend HostGator and if you order one through my affiliate link, you will be qualified for any promotions they have:

Hope this helps!

9 thoughts on “How to Drastically Speed Up Your Website by Increasing PHP Memory Limit

  1. Yan, Thank You so much for this excellent video. Your Recommendations has help me so much! My websites is Ultra Fast now! Can't believe it, I got Over 256GB of ram and I just had 128 (default settings) With this I increase it to 5GB. Thank You!

Leave a Reply

Your email address will not be published. Required fields are marked *