fbpx
Skip to content
How to Increase Memory Limit (Godaddy WordPress Hosting)

How to Increase Memory Limit (Godaddy WordPress Hosting)

    How to Increase Memory Limit WordPress

    Last Updated on: 13th November 2023, 07:20 pm

    Increasing the memory limit on Godaddy WordPress hosting is very challenging for non-technical users but here is step by step method to fix it.

    Remember this solution can be applied other than Godaddy hosting.

    If you need to increase the memory limit on your GoDaddy WordPress hosting, you can do so by following these steps.

    Method 1: Edit the wp-config.php File

    The wp-config.php file is one of your WordPress website’s core files. It contains information about the database, including the name, host (usually localhost), and credentials (username and password). You can use it to increase your PHP memory limit.

    1. Log into your GoDaddy account.
    2. Go to your ‘Web Hosting’ and click on ‘Manage’.
    3. Open the ‘File Manager’.
    4. Navigate to the root directory of the website you wish to increase the memory limit for. Usually, this is the ‘public_html’ folder.
    5. Look for the wp-config.php file.
    6. Right-click on it and select ‘Edit’.
    7. At the bottom of the file, before the line that says ‘That’s all, stop editing! Happy publishing’, insert the following line: define(‘WP_MEMORY_LIMIT’, ‘256M’);
    8. Change ‘256M’ to whatever memory limit you want to set.
    9. Click ‘Save Changes’.

    Method 2: Edit the PHP.ini File

    The php.ini file is a default configuration file that reads and executes code to run your WordPress website. It can be used to increase the PHP memory limit.

    1. Log into your GoDaddy account.
    2. Go to your ‘Web Hosting’ and click on ‘Manage’.
    3. Open the ‘File Manager’.
    4. Navigate to the root directory of the website you wish to increase the memory limit for. Usually, this is the ‘public_html’ folder.
    5. Look for the php.ini file.
    6. If it doesn’t exist, create it.
    7. Open the file, and add the following lines: memory_limit = 256M
    8. You can adjust the ‘256M’ to whatever memory limit you want to set.
    9. Click ‘Save’ and exit.

    After performing these steps, don’t forget to restart your server so that the new settings can take effect. It is also recommended to clear your WordPress cache to ensure that the changes take place. If you continue to experience issues, get in touch with GoDaddy’s support team for assistance.

    Share this post on social!

    Comment on Post

    Your email address will not be published. Required fields are marked *