configuration
Resolved httpd version 2 POST size limited at 2K
今天花了一天的時間在重新挑戰我的wordpress 上傳檔案的問題,經過反覆測試發現問題並不是出在php-5.x.x本身的設定,而是卡在apache httpd v2的POST功能有2K大小的限制,因為這個原因導至我在Wordpress上貼的文章或上傳的檔案大小只是超過2K就無法上傳。 解決辦法就是換掉httpd 改用lighttpd-1.4.37,記錄一下修改的部份 1. INSTALL * ./configure & make install 2. Startup script * cd lighttpd-1.4.37/doc/initscripts/ * cp sysconfig.lighttpd /etc/sysconfig/lighttpd * cp rc.lighttpd.redhat /etc/init.d/lighttpd -> edit lighttpd="/usr/local/