HostGator 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
- Login to your HostGator cPanel account
- Under Programming click on the PHP Config icon.
- 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.
- Enter the new memory limit for your php applications.
- Click Save Changes
You can press Control + F on your Windows PC or Command + F on your Mac to use your browsers search function.
It is not recommend to increase this limit past 128 MB.
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.
- Save the file.
- Upload the file using your FTP client.
It is not recommend to increase this limit past 128 MB.
Video "How-to" Tutorial
494,932 views
bookmark
share
tags: limit troubleshooting wordpress
Share or save this via:
Recommended Help Content
Available PHP Memory Exhausted.
How do I increase my file size limit in my PHP application?
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.
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
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 hostgator_sg. Login to the WordPress Data
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
This article explains how to install WordPress when Mojo is unable to create the database automatically.
This article will explain how to run php and other file types using Cron jobs.
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
108,641 views
tags: auto automatic certified download install manual premium themes update upload wordpress
The HostGator Marketplace helps you browse, purchase, install, and manage WordPress themes, plugins, and add-ons directly from your HostGator.sg dashboard. Choose from over 900 premium WordPress themes, dozens of WooCommerce eCommerce plugins and add-ons, and even professional ser
Knowledgebase Article
104,244 views
tags: Marketplace install marketing plugins purchase setup themes wordpress
My WordPress site is slow or seems down.