zoukankan      html  css  js  c++  java
  • [MODx] Solve cannot upload large file

    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.

  • 相关阅读:
    NYOJ题目22 素数求和
    最大连续子序列&&MAX SUM
    Computer Transformation
    #转 二分查找
    吃巧克力
    公司年会
    亲和串
    开门人和关门人
    找新朋友
    big number
  • 原文地址:https://www.cnblogs.com/Answer1215/p/4789311.html
Copyright © 2011-2022 走看看