Jump to content


Photo

Increase file Upload Limit in PHP


  • Please log in to reply
4 replies to this topic

#1 madhavvyas

madhavvyas
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 26 July 2006 - 12:46 PM

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

#2 akitchin

akitchin
  • Staff Alumni
  • Advanced Member
  • 2,516 posts
  • LocationCalgary, AB, Canada

Posted 26 July 2006 - 06:08 PM

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.

#3 madhavvyas

madhavvyas
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 18 August 2006 - 08:59 AM

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


#4 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 18 August 2006 - 09:01 AM

It is probably the max_execution_time again. Try raising that some more.

#5 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 18 August 2006 - 10:35 AM

max-execution time shoudln't be an issue. The script timing doesn't start until the uploads have completed.
follow me on twitter @PHPsycho




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users