• Resolved twirth5

    (@twirth5)


    I receive this error every time I do bulk optimization. Time-outs occur in as little as five (5) minutes and best an hour no matter the time of day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TinyPNG

    (@tinypng)

    I’m sorry to hear that you’re having trouble using the plugin. A common cause for this type of errors is when the images submitted for compression are very big; if you’re able to change the value of max_execution_time in your PHPInfo you should be able to avoid the problem. The root cause is that the compression takes too long for WordPress, as you can imagine.

    Thread Starter twirth5

    (@twirth5)

    Thank you for the fast response!

    I could not locate any PHPInfo files to edit so I did some research and that told me to add max_execution_time to php.ini in the root of my host server.

    php.ini contents:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    I did this and in the process of trying it out. I will increase the time if bulk optimization still fails.

    Please alert me if I am going in the wrong direction here.

    Best regards,
    Terry

    Plugin Author TinyPNG

    (@tinypng)

    Hi Terry,

    Glad you were able to find the settings. This should help with the bulk optimization.
    Don’t hesitate to reach out to us if you’re still experiencing this issue. You can contact us via [email protected]

    Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Internal error Gateway Time-out’ is closed to new replies.