Let me ask you a question. The PHP timeout setting is invalid.

configuration:
php.ini: max_execution_time = 30
php-fpm.conf: request_terminate_timeout = 100
nginx.conf: keepalive_timeout 60

script:
echo "start:". Date ("Y-m-d time ()). PHP_EOL;
sleep,
echo "end:". Date (time ());
exit;

result:
did not throw an error, but returned the result:
start:2019-02-25 15:56:26 end:2019-02-25 15:58:26

Why is there no timeout error report?

Jul.10,2022

check whether to restart fpm after modifying the configuration
you can use ini_get ('max_execution_time') in php to print the actual running timeout configuration


first of all, make sure that you set the timeout file correctly, and then comment out the timeout you set, and run individually to see if something went wrong.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be1b76-31587.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be1b76-31587.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?