How To Increase The PHP Memory Limit
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

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 HostMonster cPanel account
  2. Under Programming click on the PHP Config icon.
  3. Click the Save Changes button

Using the File Manager

  1. Locate the Files section
  2. Click the File Manager icon.
  3. If prompted choose Web Root, otherwise navigate to the public_html folder.
  4. Right click the php.ini file
  5. Choose either Edit or Code Edit
  6. Click the Edit button.
  7. Search for memory_limit, without the quotes.
  8. You can press Control + F on your Windows PC or Command + F on your Mac to use your browsers search function.

  9. Enter the new memory limit for your php applications.
  10. It is not recommend to increase this limit past 128 MB.

  11. Click Save Changes

Using an FTP Client

  1. Connect to the server with your FTP client.

    FTP - Uploading the website

  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. It is not recommend to increase this limit past 128 MB.

  8. Save the file.
  9. Upload the file using your FTP client.
Video "How-to" Tutorial 491,660 views bookmark tags: limit troubleshooting wordpress


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Available PHP Memory Exhausted.
Knowledgebase Article 296,731 views tags: exceeded fatal memory php wordpress

How do I increase my file size limit in my PHP application?
Knowledgebase Article 632,119 views tags: optimize php upload uploads

We provide a program which makes it very easy to install third party scripts to your hosting account. If you want your website to have a WordPress blog, you can use MOJO Marketplace to install WordPress.
Getting Started Article 1,115,888 views tags: blog install scripts simple wordpress

Related Help Content

Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for
Getting Started Article 846,916 views tags: install link theme themes wordpress

If you have a WordPress blog hosted on WordPress.com, you can easily export it and import it to WordPress that is installed on your hosting account with hostmonster. Login to the WordPress Data
Getting Started Article 699,128 views tags: blog export file import wordpress

Install Plugins These steps will help you install and select a WordPress plugin for your blog. Inside the WordPress Dashboard, select the Add New link from the Plugins menu. You can search for a plug
Getting Started Article 354,607 views tags: blog install link plugin wordpress

This article explains how to install WordPress when Mojo is unable to create the database automatically.
Knowledgebase Article 196,962 views tags: MOJO automatic database install wordpress

This article will explain how to run php and other file types using Cron jobs.
Knowledgebase Article 521,533 views tags: cron file jobs php

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.
Knowledgebase Article 106,441 views tags: auto automatic certified download install manual premium themes update upload wordpress

The HostMonster Marketplace helps you browse, purchase, install, and manage WordPress themes, plugins, and add-ons directly from your HostMonster.com dashboard. Choose from over 900 premium WordPress themes, dozens of WooCommerce eCommerce plugins and add-ons, and even professional ser
Knowledgebase Article 101,985 views tags: Marketplace install marketing plugins purchase setup themes wordpress

My WordPress site is slow or seems down.
Knowledgebase Article 262,010 views tags: cache optimization speed wordpress

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here