Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 29-05-2009
Member
 
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.
Reply With Quote
  #2  
Old 29-05-2009
Member
 
Join Date: May 2008
Posts: 96
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
Reply With Quote
  #3  
Old 29-05-2009
Member
 
Join Date: Jun 2008
Posts: 370
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with upload_max_filesize with .htaccess"
Thread Thread Starter Forum Replies Last Post
.htaccess with a session duration Jaxine Software Development 5 19-01-2010 08:28 PM
How to use .htaccess file Antarjot Operating Systems 3 09-12-2009 01:40 PM
Problem with .htaccess on Mac OS X austin26 Software Development 3 03-12-2009 06:00 PM
.htaccess and error 403 CitricAcid Software Development 4 27-04-2009 12:24 PM
.Htaccess problem Jasonholt Software Development 3 06-04-2009 09:08 PM


All times are GMT +5.5. The time now is 12:13 AM.