Announcement

Collapse
No announcement yet.

upload_max_filesize

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • upload_max_filesize

    rediculous limits

  • #2
    I have setup all the PHP versions with a upload_max_filesize of 512 but there are some that are allowing unlimited (∞) and others that are upwards of 50GB uploads regardless of the limits set. What rules and what overrides here? How can I fix this?

    Comment


    • #3
      Any help with this would be great. I have searched everywhere for a reason and so far I am coming up with blanks. I just don get what is overriding the php.ini files?

      Comment


      • #4
        Kevin, do you use PHP -Selector? And what control panel?

        Where do you see upload_max_filesize different from your server default (512M) ? If its on regular phpinfo() page then definitely this is done with php.ini or with .htaccess file (just look for any directory above virtualhost documentroot). If you just see someone can upload larger 512M file - this could be changed right before upload progress in same .php file, using for example this code:

        Code:
        ini_set("upload_max_filesize","300M" ) ;
        In this case I would recommend checking for that directive recursively in domain root, this way:

        Code:
        cd /path_to_domain/
        
        grep upload_max_filesize . -Rs

        Comment

        Working...
        X