操做dokuwiki發現文件上傳限制只有了2M,使用十分不方便,因而查找修改辦法php
根據http://blog.csdn.net/liujingqiu/article/details/52759091 文章介紹html
上傳文件類型
上傳文件類型的設置在dokuwiki/conf/mime.conf中配置。apache
舊版不支持的話,請在mime.conf中添加以下內容:
docx !application/vnd.openxmlformats-officedocument.wordprocessingml.document
xlsx !application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
pptx !application/vnd.openxmlformats-officedocument.presentationml.presentationapp
默認不支持html、htm、txt、conf、xml、csv等,如需支持去掉前面的註釋便可。post
#html text/html #htm text/html #txt text/plain #conf text/plain #xml text/xml #csv text/csv
按照上面2的修改,我將限制修改到200M,重啓apache以後,發現上傳限制變成8M,感受十分不爽,因而在php.ini中發現.net
post_max_size=8Mcode
修改以後。獲得滿意的200M 限制 orm