Monday, August 19, 2019

Webmin安裝SSL/TLS證書後出現Internal server error

安裝SSL/TLS證書後,網站能以Https方式打開,但經常出現500 Internal server error,查看Webmin/Virtualmin面板的Apache錯誤日誌,發現有很多mod_fcgid: read data timeout in 31 seconds和End of script output before headers。

解決此問題的辦法:

Virtualmin ==> 服務 ==> PHP Configuration ==> Resource Limits

Maximum memory allocation	 128M    	Maximum HTTP POST size	 80M   
Maximum file upload size	 80M    	Maximum execution time	 600 seconds
Maximum input parsing time	 600 seconds		

Virtualmin ==> 服務器配置 ==> 網站選項

Maximum PHP script run time	 600 秒

Related Post

One comment

  1. 博主的博客很不錯,看得出來很用心呀,期待繼續更新!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.