There are a number of different reasons why you might want to increase the PHP memory limit of your PHP site, and there are even a number of different ways to do so. The most common reason to do this is to fix errors that occur when your site begins using more memory than it’s capable of using.

Today, TechnoGripper India comes with an Article to Increase Memory Limit in PHP Site. There are so many reasons why you need to increase memory limit of your PHP Site & There are so many ways to do the same.

First of all, you need to check your existing memory limit. Here is how:

Step 1: Login to your Web Hosting cPanel or FTP with you valid credentials.
Step 2: Go to File Manager in cPanel(if you logged in cPanel).
Step 3: Navigate public_html folder & Open it.
Step 4: Create a File phpinfo.php & Paste mentioned code in this file and save it.

Step 5: Run it on your Web Browser with appropriate URL/Link.
Step 6: You’ll see some Configuration Details of your PHP Version, MySQL, Apache and some more tools that are installed on your Web Server.
Step 7: Search memory_limit. You’ll get to know that what is your current memory_limit

If you think that you need to increase your memory limit. Then there are some steps to do the same. Steps are mentioned below:

Step 1: As you are in public_html, now create a new file named as php.ini & Open it.
Step 2: Paste mentioned code in & Save it.

That’s all. Now your Memory Limit is increased.

Any issue, Reach us at We are always open to help volunteers.

TechnoGripper India
TechnoGripper India is one of the leading firms, rendering Online Business services to its Prestigious Clients.We are experts in Website Development, Website Designing, Graphic Designing, Logo Designing, 2D & 3D Animation, SEO Analysis, Android App Development, iOS App Development, Digital Marketing and Content Writing.

PayUMoney Payment Gateway Integration in PHP

Previous article

Send Email using PHP – TechnoGripper India

Next article

You may also like

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments

More in eLearning