[MODx] Solve cannot upload large file
2015-09-07 16:53
351 查看
If you also run into this problem, dont' worry, here is the solution for you.
First:
In Modx, go "System settings" --> Search "Maximum upload size" --> edit the value (in bytes), I set to "100000000" (= 100 MB)
Second:
In the root of "FileSystems" create a new file called ".user.ini"
Note: post_max_size should greater than upload_max_filesize; and memory_limit should greater than post_max_size.
In some posts, they suggests change those settings in .htaccess. But for me, it doesn't works well in modx.
So use .user.ini file instead.
First:
In Modx, go "System settings" --> Search "Maximum upload size" --> edit the value (in bytes), I set to "100000000" (= 100 MB)
Second:
In the root of "FileSystems" create a new file called ".user.ini"
upload_max_filesize = 100M post_max_size = 150M memory_limit = 200M
Note: post_max_size should greater than upload_max_filesize; and memory_limit should greater than post_max_size.
In some posts, they suggests change those settings in .htaccess. But for me, it doesn't works well in modx.
So use .user.ini file instead.
相关文章推荐
- mysql 慢查询日志的使用
- 第二周项目0 加法运算
- 项目0—NO.1
- android启动闪黑问题解决
- 第2周项目0 逆序输出
- You need tcl 8.5 or newer in order to run the Redis test
- 1221 -- 简单取余
- 1220 -- 青蛙过河
- 利用ggplot画分组柱状图的方法
- Android新项目上传
- 1.4 MFC控件设置
- 关于navigationBar.leftBarItem按钮点击范围太大的问题
- 如何让一个DIV浮动在另一个DIV上面
- Mutillidae在kali linux上的安装
- 已知局域网IP地址,如何查看mac
- 桌面支持--outlook.com怎么设置pop3接收邮件
- CSDN第一篇
- *p++和*++p的区别
- URLClassLoader源码笔记
- Unity3D: NGUI自定义Atlas,Font