File upload limit issue drupal 6

mutami - December 1, 2008 - 00:28

I am having trouble with the file upload limit for drupal 6. I am having problems with
changing the file upload limit from 2MB to my desired 50MB. Currently
my .htaccess file has this snippet of code in it;

php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value max_execution_time 800

and my php.ini has this snippet;

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
post_max_size 50M
upload_max_filesize 50M

I have also tried adding 'php_value' before "post_max_size" and
"upload_max_filesize" as well as trying to add a bunch of zeroes (ex:
5000000) to the end of the numbers, and have tried adding '=' signs
inbetween the text and the numbers (ex: upload_max_filesize = 50M),
along with a combination of both.

If you could help me, that would be the most amazing thing in the world.

after you make all those

WorldFallz - December 1, 2008 - 02:02

after you make all those changes verify the current php settings with phpfino(). Also, did you adjust the settings at admin/settings/uploads as well?

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

My php info says that it is

mutami - December 1, 2008 - 22:36

My php info says that it is still at the 2MB limit. Is there a reason you know of, of why changing the codes had no effect?

And I do try to change the settings every time I change the code.

edit: i someone from drupal sees this, PLEASE could you make a simpler way of doing this? I mean, something as simple as having to change the number (and not as complicated as having to spend the past 2 months trying to figure out how to change this).

There is nothing drupal or

WorldFallz - December 1, 2008 - 23:32

There is nothing drupal or drupal developers can do about this-- this is a php configuration issue.

Are you on a hosted platform? A local machine? If hosted, you'll have to check with your host on whether or not they allow you to change this and if so, how to do it. It will vary by host.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

 
 

Drupal is a registered trademark of Dries Buytaert.