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

沒有留言:

Mount SSHFS in Windows

https://github.com/winfsp/winfsp https://github.com/winfsp/sshfs-win 要先安裝這兩個工具 一般用帳密掛載,預設是掛載使用者的 home 目錄 net use Z: \\sshfs\username@host 使用...