Как исправить тайм-аут соединения, ошибка cURL 28?Php

Кемеровские программисты php общаются здесь
Anonymous
Как исправить тайм-аут соединения, ошибка cURL 28?

Сообщение Anonymous »


I bought a jobs portal script, I've successfully installed it and when I try to register I get this error:

cURL error 28: Connection timed out after 2013 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

I asked support and they said:

you need to increase read_timeout and timeout. The error is clear, you don’t have enough time to get the response. increase time in php.ini

I tried increasing max_execution_time, default_socket_timeout in php.ini both to 500, but I'm getting the same error. Then I tried manually adding read_timeout=500 and timeout=500 and again the same error.

What should I do?


Источник: https://stackoverflow.com/questions/544 ... l-error-28

Вернуться в «Php»