LoginSignup
1
0

More than 1 year has passed since last update.

PHPで504 Gateway Time-outが出た時に確認すること

Last updated at Posted at 2022-09-29

PHP

php.ini: max_execution_time

基本は、php.iniのmax_execution_timeを変更すると、タイムアウト時間を設定することができますが、
なぜか変更されないこともたまにある。

そういうときは、
/etc/php-fpm.d/www.conf: request_terminate_timeout

nginxの場合
nginx.conf: fastcgi_read_timeout

この辺を変更すると、適用されたりします。

AWS ELB

ここは見落としがちなのですが、
AWSのELBを使用している場合、属性の編集からアイドルタイムアウトの編集で適用されます。

ということで、変わらない場合はこの辺を確認しましょう。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0