Bluehost 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 Bluehost cPanel account
  2. Click on the PHP Config icon located under "Software/Services"
  3. Click the Save Changes button

Using the File Manager

  1. Locate the Files section
  2. Click the File Manager icon.
    File Manager
  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
    Screenshot of 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 148,528 views bookmark tags: limit troubleshooting wordpress (updated 49 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Wordpress Fatal error: Allowed memory size exhausted

Available PHP Memory Exhausted. (updated 1503 days ago)

Upload File Size Limit

How do I increase my file size limit in my PHP application? (updated 144 days ago)

How to install WordPress, using the MOJO marketplace

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 WordPres (updated 146 days ago)

Related Help Content

WordPress: Install a new Theme

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 (updated 154 days ago)

Logging in and Using WordPress: Installing Plugins

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 (updated 153 days ago)

Wordpress Install Without Automatic Database Creation

This article explains how to install WordPress when Mojo is unable to create the database automatically. (updated 49 days ago)

Cron Jobs with PHP and other File Types

This article will explain how to run php and other file types using Cron jobs. (updated 117 days ago)

Migrating an Existing WordPress.com Blog

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 bluehost. Login to the WordPress D (updated 146 days ago)

phpAuction Cannot login to admin after install

After installing phpAuction and attempt to sign in as admin, you get php script errors. (updated 2150 days ago)

Wordpress Plugins to increase Performance.

My Wordpress site is slow or seems down. (updated 1571 days ago)

Upgrade CPU and Memory on CloudSites

This article explains how to add CPU and memory upgrades to a CloudSites account. (updated 27 days ago)