Welcome Guest, Not a member yet? Register   Sign In
Issues with large video uploads php.ini
#1

[eluser]seth.aldridge[/eluser]
Hi,

I've been working on a video upload site for a while and I'm having an issue with larger files. I have adjusted my php.ini file to allow large files, but I'm still getting errors.

Example:
Code:
upload_max_filesize = 700M
max_execution_time = 3600
max_input_time = 3600
memory_limit = 700M
post_max_size = 700M

SafeMode is off.

I can upload smaller videos but I get the error:

Code:
An Error Was Encountered
Unable to locate the source file. Please check your path.

Does anyone know what the above settings should be? I'm pretty new to PHP and I've done the above by googling around.

EDIT - The video is 57 minutes. it is 144 Mb

Thanks,
Seth
#2

[eluser]stommert[/eluser]
Hi Seth,

I have had the same problem. I changed two things in my php.ini

1. post_max_size
2. upload_max_filesize
3. memory_limit

post_max_size is by default 16M (not really sure).
the second one is 2M by default (not really sure as well).
the third one is the amount of memory that can be allocated by the script (no sure if it helps).
Anyway, you have to change those things if they are lower then your 144M.
I hope helps.

gr

Stommert




Theme © iAndrew 2016 - Forum software by © MyBB