Portal Home > Knowledgebase > Apache and PHP > How to increase PHP memory limit


How to increase PHP memory limit




If you like to increase the PHP memory limit in any folder you just create a file called php.ini.

Put the following content in it:

memory_limit = 64M

You can replace 64M with the size in of the PHP memory in megabytes you like to have.

After you are ready just upload the php.ini file via FTP in your public_html folder or internal folder you like to apply the PHP memory limit to.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Where to put CGI files (Views: 4576)
PHP version (Views: 6932)

* Minimum sign up periods for cPanel Web Hosting plans: Mini - 3mo., Pro - 1mo., Biz - 1mo., cPanel Reseller Hosting, Linux VPS, Windows VPS, Managed cPanel VPS and Dedicated Servers - 1mo. secret link
Accepted payments: Credit/Debit Card, Paypal, Payza, Skrill, WebMoney, CashU, Ukash, paysafecard, Bitcoin, Perfect Money, SolidTrust Pay, OKPay, EgoPay, Western Union/MG, Wire Transfer and more.