Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: htaccess apache config questions
06-17-2013, 08:36 AM #1
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.
06-17-2013, 12:24 PM #2
- Join Date
- Aug 2003
- Wake Forest, North Carolina
- Thanked 208 Times in 205 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:
06-17-2013, 08:17 PM #3
Thanks so much for the reply and helping to clear that up for me.