2 Meg Upload limit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trehahn
    Junior Member
    • Mar 2006
    • 17

    #1

    2 Meg Upload limit

    I've seen sites that explain how to change your php.ini file to allow larger uploads than 2 megs, however it doesn't always work on all servers I'm told too. Since I've not messed with it I'm curious if this will work with our servers or what can be done to allow larger uploads? Thanks.
    Tim Rehahn
    Tru3 Style Radio
    The Best Music From One End Of The World To The Other
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    It does work on our servers. Create a file named php.ini and put the following line in it (adjust size accordingly):

    upload_max_filesize = 10M

    Then upload the php.ini file to each directory where the setting change is required. It will not automatically work recursively through subdirectories.

    Comment

    • JackT
      Junior Member
      • Nov 2006
      • 16

      #3
      If I may add...

      There is another directive to modify:

      post_max_size="8M"

      Where 8M is the default value and should be changed to accomidate the value set with upload_max_filesize. As well as max_execution_time, for those with slow upload speeds (not too sure).

      Comment

      Working...