操做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