Results 1 to 3 of 3

Thread: Problem with upload_max_filesize with .htaccess

  1. #1
    Join Date
    May 2008
    Posts
    89

    Problem with upload_max_filesize with .htaccess

    Hi,
    I am having problem with upload_max_filesize with .htaccess

    I dont understand how to achieve uploads over 2M

    The problem is when i checked the post_max_size its 55M and my upload_max_filesize is 2M.
    Please help me increase it.

  2. #2
    Join Date
    May 2008
    Posts
    97

    Re: Problem with upload_max_filesize with .htaccess

    Try this

    Code:
    php_value upload_max_filesize 50M
    php_value max_execution_time 800
    I hope this helps!
    I like Surfing

  3. #3
    Join Date
    Jun 2008
    Posts
    379

    Re: Problem with upload_max_filesize with .htaccess

    i’ve put the following line at the begining of the .htaccess file located in the main directory:

    Code:
    php_value upload_max_filesize 5M
    and it’s all good. Before this, i used to get the following error:

    Code:
    The uploaded file exceeds the upload_max_filesize directive in php.ini.

Similar Threads

  1. .htaccess with a session duration
    By Jaxine in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 08:28 PM
  2. How to use .htaccess file
    By Antarjot in forum Operating Systems
    Replies: 3
    Last Post: 09-12-2009, 01:40 PM
  3. Problem with .htaccess on Mac OS X
    By austin26 in forum Software Development
    Replies: 3
    Last Post: 03-12-2009, 06:00 PM
  4. .htaccess and error 403
    By CitricAcid in forum Software Development
    Replies: 4
    Last Post: 27-04-2009, 12:24 PM
  5. .Htaccess problem
    By Jasonholt in forum Software Development
    Replies: 3
    Last Post: 06-04-2009, 09:08 PM

Tags for this Thread

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
  •  
Page generated in 1,713,300,444.43611 seconds with 17 queries