How To Increase The PHP Memory Limit?

Summary

This article will explain how to modify the total amount of RAM that can be used by your PHP applications.

Generating a new php.ini file

  1. Login to your AKLWEB Host Plesk Account
  2. Under Programming click on the PHP Config icon.
  3. Click the Save Changes button

Using the File Manager

  • Locate the Files section
  • Click the File Manager icon.
  • If prompted choose Web Root, otherwise navigate to the public_html folder.
  • Right click the php.ini file
  • Choose either Edit or Code Edit
  • Click the Edit button.
  • Search for memory_limit, without the quotes.

You can press Control + F on your Windows PC or Command + F on your Mac to use your browsers search function.

  • Enter the new memory limit for your php applications.

It is not recommend to increase this limit past 128 MB.

  • Click Save Changes

Using an FTP Client

  • Connect to the server with your FTP client.
  • FTP - Uploading the website
  • Navigate to the public_html folder.
  • Download the php.ini file.
  • Open the file with any text editor.
  • Search for memory_limit, without the quotes.
  • Enter the new memory limit for your php applications.

It is not recommend to increase this limit past 128 MB.

  • Save the file.
  • Upload the file using your FTP client.
  • Increase The PHP Memory Limit
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Where is my WordPress configuration located and how can I edit it?

The WordPress configration file is located in the WordPress installation directory with the name...

Wordpress Fatal error: Allowed Memory Size Exhausted?

Memory allocation and exhaustion problems within WordPress installations. By default, our...

WP Super Cache Plugin

One way to optimize WordPress is to install WP Super Cache, which can be done from your WordPress...

What Applications Are Required To Run WordPress?

To run the WordPress blogging software following applications should be installed on the...

PostNuke Hosting

What is PostNuke ? PostNuke (a.k.a. Zikula) is one of the best open source, open development...