Okay
  Public Ticket #1539743
Gateway timeout problems
Closed

Comments

  • Mario started the conversation

    Hi,

    Could you please help me to understand why so often my website have loading problems and getway timeout 504 error?

    I have tried to optimize images and the page size is not so heavy. 

    Thank you so much!

  •  2,744
    Andrew replied

    Hey there,

    Your PHP Settings are likely not correct. 

    Also ensure you are running the PHP version 7.1 and not 7.2 as it is causing issues .

    You can verify your PHP configuration limits by installing a simple plugin called WordPress phpinfo http://wordpress.org/extend/plugins/wordpress-php-info/

    Recommended PHP configuration limits are as follows:

    max_execution_time 60
    memory_limit 256M
    post_max_size 48M
    upload_max_filesize 48M

    Please have your host fix this up for you.

    Regards 

  • Mario replied

    Hi,


    I've installed the plugin you suggested me, these are infos: 

    PHP version: 7.0.27
    Wordpress Version: 4.9.5
    Server Software: Apache

    Do you need more info? Should I upgrade at version 7.1?

    Thanks


  •  8,466
    Tahir replied

    Hey Again,

    Your PHP Settings are likely not correct. Also ensure you are running PHP version 7.1 and not 7.2 as its incompatible .

    You can verify your PHP configuration limits by installing a simple plugin called WordPress phpinfo http://wordpress.org/extend/plugins/wordpress-php-info/

    Recommended PHP configuration limits are as follows:

    • max_execution_time 60
    • memory_limit 256M
    • post_max_size 48M
    • upload_max_filesize 48M

    Please have your hosting provider fix this for you so it can be installed correctly. 

    Thanks 


    ThemeNectar Support Team