How To Increase The PHP Memory Limit

  1. Generating a new php.ini file
  2. Using the File ManagerLocate the Files section
  3. Click the File Manager icon.

              Rock

             Legacy

  1. If prompted, choose Web Root; otherwise, navigate to the public html folder.
  2. Right-click the php.ini file.
  3. Choose either Edit or Code Edit.
  4. Click the Edit button.
  5. Search for memory limit without the quotes.
  6. Enter the new memory limit for your PHP applications.
  7. Click Save Changes

 

  • Using an FTP Client
  1. Connect to the server with your FTP client.
  2. Navigate to the public_html folder.
  3. Download the php.ini file.
  4. Open the file with any text editor.
  5. Search for memory_limit without the quotes.
  6. Enter the new memory limit for your PHP applications.
  7. Save the file.
  8. Upload the file using your FTP client.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to switch php version

  How to switch php version in cpanel To change the PHP version used for your account, follow...

Fast CGI for PHP

FastCGI for PHP makes all your PHP applications persistent. There is no pre-request startup and...

How to change PHP version for subfolders or subdomains?

  In case you'd like to change the PHP version for a specific subdomain or subfolder, all you...

Differences between PHP memory limit and RAM

PHP memory limit setting applies to the maximum memory limit which is used by a single...

How can I modify the PHP time zone setting for my website?

Open Hosting → Manage → PHP Configuration page. There, open the PHP options tab and edit the...