htaccess + upload limit?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hades-1
    Member
    • Oct 2004
    • 32
    • 3.0.7

    htaccess + upload limit?

    Isnt there a way i can increase the upload limit by htaccess instead of changing php.ini?

    Could someone tell me how?
  • Kmurray
    New Member
    • Aug 2006
    • 16
    • 3.6.x

    #2
    Put this in your .htaccess:

    Code:
    php_value post_max_size 16M
    php_value upload_max_filesize 16M
    php_value max_execution_time 600
    And configure the values to suite your needs!

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #3
      Please note that if you are on a shared server and your host finds out you are bypassing these limits, it may affect your account with them.
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment

      • Hades-1
        Member
        • Oct 2004
        • 32
        • 3.0.7

        #4
        thanks guys

        i actually own the server i just dont want to fuss with the php.ini right now.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...