[MODx] Solve cannot upload large file
File Cannot large Upload Solve
2023-09-14 08:59:20 时间
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"
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.
相关文章
- shell中执行hive命令错误:delimited by end-of-file (wanted `EOF')
- dtools: error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory ninja: build stopped: subcommand failed.
- 【DataGuarad】ORA-01671: cannot make a standby control file
- JDK1.3安装出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Done.
- Linux下出现Read-only file system的解决办法
- FileZilla Server-Can’t access file错误解决方法
- [AngularFire] Angular File Uploads to Firebase Storage with Angular control value accessor
- Android开发 Error:The number of method references in a .dex file cannot exceed 64K.Android开发 Error:The number of method references in a .dex file cannot exceed 64K
- io流函数略解(java_File)[一]
- INPUT[type=file]的change事件不触发问题
- [MODx] Solve cannot upload large file
- log file switch (日志切换)
- manjaro easyconnecy报错:libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
- cache buster issue application index and duplicate .library file
- SAP BSP - how to access javascript file via Mime API
- Android问题笔记 - 实战解决Studio出现Direct local .aar file dependencies are not supported when building an AAR
- ERROR! MySQL server PID file could not be found!
- 【Qt】Qt5.12在ubuntu下解决 GL/gl.h: No such file or directory 与 cannot find -lGL
- 报错:Cannot remove entries from nonexistent file c:program filesanaconda3libsite-packageseasy-install.pth
- L13.linux命令每日一练 -- 第二章 文件和目录操作命令 -- lsattr和file命令
- Qt开发,编译报错:Cannot find file: xxx.pro.
- html中#include file的使用方法
- vscode——运行程序报错 cc1plus.exe: fatal error: xxx: No such file or directory
- [MySQL] 解决办法:ibssl.so.10: cannot open shared object file: No such file or directory