裝設伺服器,安裝後發現,讀取php網頁,回應很慢!
重啟apache後,再次讀取php網頁,內容馬上出現,
但約過半小時後,php網頁的回應速度又變慢了!

參考多個網路資料,
如:
1、http://www.cnblogs.com/jimingsong/p/3210878.html


ThreadsPerChild 1000
MaxRequestsPerChild 10000
Win32DisableAcceptEx


結果沒辦法順啟動apache

2、
http://superuser.com/questions/516030/apache-2-4-on-windows-responds-slowly-hangs-when-serving-some-dynamic-pages

參考第二個網站後,重新設定httpd.conf,
再過半小時、二個小時後都可以馬上回應。
加的內容如下:

AcceptFilter http none
AcceptFilter https none

依據這網頁,
也有參考資料可以說明:
http://httpd.apache.org/docs/2.4/mod/core.html

arrow
arrow

    ming250 發表在 痞客邦 留言(0) 人氣()