2021年7月8日 星期四

Apache + PHP FPM Increase Timeout

Apache + PHP FPM 的模式,
若程式執行會超過一分鐘,光是調整 php.ini 的 max_execution_time 是不夠的,
就需要調整 Apache 的 Timeout,預設是 60
PHP FPM 的模式,是走 proxy mode,所以 ProxyTimeout 也要調整,

例如: 設成五分鐘
Timeout 300
ProxyTimeout 300

沒有留言:

Using wgcf to export WARP WireGuard config

Cloudflare WARP 的底層是用 WireGuard tunnel wgcf 工具可以把它匯出成 WireGuard config curl -sL https://github.com/ViRb3/wgcf/releases/download/v2.2.29/w...