安装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 秒
博主的博客很不错,看得出来很用心呀,期待继续更新!!!