![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
In the .htaccess change:
Code:
php_value upload_max_filesize 2M |
|
#3
|
|||
|
|||
|
where is this .htaccess stored?
The only one i have doesn't even have that. |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Yes The error message well change.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |