Jump to content

Archived

This topic is now archived and is closed to further replies.

madhavvyas

Increase file Upload Limit in PHP

Recommended Posts

Hello friends

I want to upload video of size more than 20 mb
here is my php variable setting


upload_max_filesize 50M
post_max_size 8M


then also it is not working
my code is absolute fine with small file but big file it create trouble.

If I upload more than 2 MB it automatically time out
please give me solution.

Thank you

Share this post


Link to post
Share on other sites
this belongs in PHP Help.  for future reference, Regex for PHP is for regular expressions help (not configuration settings).

look at the php.ini timeout settings.

Share this post


Link to post
Share on other sites
Hello friends

this is again not working i set following setting then also i am not able to upload more then 11 mb file
i want to upload 11 to 40 MB file size

my setting
post_max_size = 60M
upload_max_filesize = 50M
memory_limit = 60M
max_input_time=1600
max_execution_time=1600

Please give solution ASAP
thanks

Share this post


Link to post
Share on other sites
max-execution time shoudln't be an issue. The script timing doesn't start until the uploads have completed.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.