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 php.in & Save it.
That’s all. Now your Memory Limit is increased.
Any issue, Reach us at firstname.lastname@example.org. We are always open to help volunteers.
The mistakes of entrepreneurs can be one of the costliest mistakes. Not only it can cost your business, but it…
Today, We'll featuring top young entrepreneurs from India, who have actually inspired entrepreneurs across the world. India has one of…
भारत सरकार ने हमेशा से ही उद्योग के क्षेत्र को बढ़ावा देने की कोशिश की है. देश में उद्यमियों की…
किसी भी देश में आर्थिक विकास की गति को बढ़ावा देने तथा व्यावसायिक समस्याओं का समाधान करने में उद्यमी की…
The shark tank India startup Cocofit has raised an unconventional amount of 5 rupees for the equity of 5% from…