SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Override max_upload_size setting?

    Is it possible to override the max_upload_size setting that is set in the main servers' php.ini? If so, how?

    It is currently set to 2 MBs and I would like to change it to 20 MBs.
    John Saunders

  2. #2
    Non-Member QualityWebHosts's Avatar
    Join Date
    Sep 2003
    Location
    USA
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you're on a shared host, it won't allow you to modify the php.ini
    You can create an .htaccess file in the upload handler script directory that contains:

    php_value upload_max_filesize 8000000

    (example set for 8 megs)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •