简体   繁体   中英

Timeout error does not match what is set in php.ini

I used facebook debugger to check my server's image. Here is the facebook debugger.

But, I received an error of "Curl Error : OPERATION_TIMEOUTED Operation timed out after 10000 milliseconds with 444276 out of 524288 bytes received".

在此处输入图片说明

My server timeout setting

Here are the settings (php 7 and php 5.6) in Cpanel

在此处输入图片说明

在此处输入图片说明

Here is the setting using ssh to find php.ini

在此处输入图片说明

Then vim /etc/opt/rh/rh-php56/php.ini

在此处输入图片说明

Wondering why the error says timeout is 10sec. Any suggestions?

The reason comes from slow connection.

Solutions:

  1. upgrade your server

  2. compress your image

  3. increase timeout

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM