• GoDaddy Community
  • Managed WordPress Hosting
  • Managed WordPress Hosting

    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution

    i am getting 502 Bad Gateway error

    i am getting 502 Bad Gateway error. does anyone know the solution?


    i read this article : 



    i added this code to site :



    upload_max_filesize = 1000M
    post_max_size = 2000M
    memory_limit = 3000M
    file_uploads = On
    max_execution_time = 180


    php_value upload_max_filesize 1000M
    php_value post_max_size 2000M
    php_value memory_limit 3000M
    php_value max_execution_time 180
    php_value max_input_time 180


    define('WP_MEMORY_LIMIT', '3000M');


    2 REPLIES 2
    Super User II
    Super User II

    Re: i am getting 502 Bad Gateway error

    Hi burakco

    Thank you for being apart of the Godaddy Community.


    This particular 502 issue is a generic server response letting you know we couldn't process the request.  As someone mentioned above, this is a temporary issue. This is due to the resources on your particular account being at maximum capacity at the time of the request. 


    This is sometimes related to plugins/themes that are running at capacity or above, or inconsistently.  If you seem to experience this often, make sure to give support a call so that we can review your cases individually.


    Follow the steps to fix the 502 bad gateway error:

    1. Refresh the Page
    2. Clear Browser Cache
    3. Try a Different Browser
    4. Check Plugins
    5. Check CDNs


    Zulfiqar Anees | Founder/CEO at FastTech Media, TechMag, and ZulWeb | GoDaddy Pro.
    Product Team
    Product Team

    Re: i am getting 502 Bad Gateway error



    Hi @burakco 


    Instead of using .htaccess or .php.ini, you'll want to use a .user.ini instead to modify any PHP configs.





    Gabriel A. Mays
    Head of WordPress, GoDaddy