Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder
    Join Date
    Nov 2010
    Posts
    1,441
    Thanks
    274
    Thanked 32 Times in 31 Posts

    htaccess apache config questions

    Just a few simple questions about these settings

    How do they relate to each other is my question?


    php_value memory_limit 275M
    php_value post_max_size 275M
    php_value upload_max_filesize 275M


    example: i am uploading a video that is 275MB, now doesnt that stipulate that i would also need to set my max post size to the
    same as my max upload since the upload array is part of the post data?

    And then would that not dictate that my mem would have to be the same to accomodate large vid uploads such as that.


    How can max upload and max post size on vids be diff, that goes for mem as well should they all be the same.

    thanks...

  • #2
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,307
    Thanks
    4
    Thanked 205 Times in 202 Posts
    The memory limit is not (directly) related to uploading of files. It would come into play if you were trying to manipulate the video.

    Post max size needs to be larger than upload max file size since uploaded files are encoded and have a bit of overhead increasing their size. I don't recall how much larger post max size needs to be but 10% seems to be stuck in my head.

    If post max size and upload max file size are the same you will not be able to upload a file that is upload max file size.
    Dave .... HostMonster for all of your hosting needs

  • Users who have thanked djm0219 for this post:

    durangod (06-17-2013)

  • #3
    Senior Coder
    Join Date
    Nov 2010
    Posts
    1,441
    Thanks
    274
    Thanked 32 Times in 31 Posts
    Thanks so much for the reply and helping to clear that up for me.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •