With no second thought, GoDaddy is a cheaper option for beginner web hosting and blogging users. However, GoDaddy’s tries to upsell their products on their support. Even for a very small fix, you are allured to upgrade. Wait, without discussing about the GoDaddy’s web hosting features and premium offerings, lets increase our Web hosting account’s memory limitations.
How much memory power do your websites require to run – 8MB, 16MB, 32MB or 64MB or how about 128MB of memory on GoDaddy’s shared linux hosting?
Irrespective of what kind of web hosting account you have with GoDaddy – yes we referring to deluxe and ultimate inclusive – while standard is always a vanilla standard – all web hosting profiles are most likely to suffer memory deficit while on GoDaddy. On this simple yet effective tutorial, let’s work to increase the web hosting PHP 5 memory limit on GoDaddy’s shared Linux hosting.
Login to your GoDaddy hosting account.
From the Hosting Control Center, open the file manager or FTP file manager. Here our aim is to edit some files.
Try to find php.ini and/or php5.ini. Without a second thought, open php5.ini file if it already exists if not create one. Just ignore php.ini for now (more info at the end of this tutorial.)
Open the php5.ini file, and append or add the following memory_limit parameter assigning values of 128M. In most of the cases, default memory_limit value assigned by GoDaddy is just 64MB.
memory_limit = 128M
Save that php5.ini file.
Now, try to look for a file named phpinfo.php if no luck, create a new file named temp.php (or any_name.php) and include the following line in that php file. The main purpose here is to check whether the memory limit has been upgraded successfully.
<?php phpinfo(); ?>
Open the phpinfo.php (for this file no edit was necessary) or temp.php file (which was just edited) and search for memory_limit and Loaded Configuration File. (Opening these file should follow your default domain like techsansar.com/temp.php or /phpinfo.php )

Go to the hosting control center, open System Processes, and then click End Web or End All.

Now that your system processes have re-run, your temp.php or phpinfo.php file should give you the updated values for both memory_limit and Loaded Configuration File. Now, you can safely delete those temp.php and/or phpinfo.php files to hide from public.
That’s the end of the tutorial on how to increase memory limitation on your Linux web hosting shared account. Share your issues below.
[box title=”Note on php.ini & php5.ini files” box_color=”#FFFF66″ title_color=”#6d37ec”]
- Many people ignore php5.ini file thinking that php.ini already exist and does all good. However, php.ini is obsolete now, and GoDaddy supports php5.ini file by default.
- Ensure the php file you edited is from the root directory in the GoDaddy’s hosting account, not in the FTP directory for individual domain. Find php5.ini in the root html directory.
- DO NOT edit memory values from .htaccess file; php_value_memory_limit in .htaccess file shouldn’t be edited as it leads to some server issues.
- Related: Giving Joomla its own installation directory
- Related: Block Spam Referrers on Your Website or Blog [/box]