RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Release Discussion

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-03-2007, 02:47 AM
Registered User
 
Join Date: Aug 2007
Posts: 43
Downloads: 0
Uploads: 0
Default Change upload size

How can i change the default 2mb file upload size?

Is it a PHP thing or is there actually a config file i can change?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-03-2007, 03:00 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Change upload size

In the .htaccess change:
Code:
php_value	upload_max_filesize	2M
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-03-2007, 03:04 AM
Registered User
 
Join Date: Aug 2007
Posts: 43
Downloads: 0
Uploads: 0
Default Re: Change upload size

where is this .htaccess stored?

The only one i have doesn't even have that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-03-2007, 03:46 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Change upload size

Ok some severs hide the .htaccess its in the root of the roundcube folder just make a new .htaccess and put in this code:
Code:
# AddDefaultCharset	UTF-8
php_flag	display_errors	Off
php_flag	log_errors	On
php_value	error_log	logs/errors
php_value	upload_max_filesize	2M

<FilesMatch "(\.inc|\~)$|^_">
 Order allow,deny
 Deny from all
</FilesMatch>

Order deny,allow
Allow from all
Change the "php_value upload_max_filesize 2M" line for the upload limit
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-03-2007, 01:21 PM
Registered User
 
Join Date: Aug 2007
Posts: 43
Downloads: 0
Uploads: 0
Default Re: Change upload size

Wohoo! That worked. Now I was just wondering, when you get the error prompt, will it say you've hit the 2mb limit, or will it say 5 now?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-03-2007, 10:13 PM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Change upload size

Yes The error message well change.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 04:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community