Categories: eLearning

Increase Memory Limit of PHP Website

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.

<?php phpinfo(); ?>

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.

memory_limit 512M

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

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

Recent Posts

Mistakes of Entrepreneurs: Deadly Mistakes of Entrepreneurs

The mistakes of entrepreneurs can be one of the costliest mistakes. Not only it can cost your business, but it…

4 days ago

Top Young Entrepreneurs from India, you must know about

Today, We'll featuring top young entrepreneurs from India, who have actually inspired entrepreneurs across the world. India has one of…

1 week ago

नए उद्यम विकास को प्रभावित करने वाले कारक।

भारत में उद्यमिता विकास  को प्राभावित करने वाले कारण निम्न हैं। जैसे : -  आर्थिक, सामाजिक और सांस्कृतिक , मनोवैज्ञानिक,…

1 month ago

उद्यमियों (एंटरप्रेन्योर) के लिए कौन सी योजना उपलबध है

भारत सरकार ने हमेशा से ही उद्योग के क्षेत्र को बढ़ावा देने की कोशिश की है. देश में उद्यमियों की…

2 months ago

उद्यमियों ( एंटरप्रेन्योर ) के लिए वैश्विक समस्या क्या है

किसी भी देश में आर्थिक विकास की गति को बढ़ावा देने तथा व्यावसायिक समस्याओं का समाधान करने में उद्यमी की…

2 months ago

Cocofit Has Raised INR 5 Crores From Shark Tank India

The shark tank India startup Cocofit has raised an unconventional amount of 5 rupees for the equity of 5% from…

2 months ago


WEXT India Ventures

C-22, Sector 65, Noida, Uttar Pradesh – 201301

Corporate Queries:

Mobile: +91 956 085 0036

Advertisement Queries:

Mobile: 956 085 0036