超时错误与php.ini中设置的不匹配

时间:2018-11-13 14:35:40

标签: php timeout

我使用了Facebook调试器来检查服务器的图像。 Here is the facebook debugger.

但是,我收到一个错误:“卷曲错误:OPERATION_TIMEOUTED操作在10000毫秒后超时,收到524288个字节中的444276个。”

enter image description here

我的服务器超时设置

以下是 Cpanel

中的设置(php 7和php 5.6)

enter image description here

enter image description here

这是使用 ssh 查找php.ini的设置

enter image description here

然后vim /etc/opt/rh/rh-php56/php.ini

enter image description here

奇怪为什么错误显示超时为10秒。有什么建议吗?

1 个答案:

答案 0 :(得分:0)

原因来自连接缓慢。

解决方案:

  1. 升级服务器

  2. 压缩图像

  3. 增加超时时间