[Tickets #245] RESOLVED: Problems with large attachements

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Nov 15 17:14:54 PST 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=245
-----------------------------------------------------------------------
 Ticket     | 245
 Updated By | fedora at m7info.com.br
 Summary    | Problems with large attachements
 Queue      | IMP
 Version    | 3.2.3
 State      | Bogus
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


fedora at m7info.com.br (2004-11-15 17:14) wrote:

OK ! - Fedora Core 1, Imp 3.2.6, Horde 2.2.7, Apache 2.0.51

1 - change
.../horde/imp/config/config.php

conf ['compose'] ['use_vfs'] = true;

2 - change
/etc/httpd/conf/httpd.conf

##### after this >>> AddType application/x-tar .tgz

#####################################################################
##### v. 1.02 alfa 1 #####


# Make sure there's only **1** line with this directive:
# LoadModule php4_module        modules/libphp4.so
# try uncomment LoadModule libphp4.so


# Add index.php to your DirectoryIndex line:
DirectoryIndex index.html index.php

# Uncomment one of the following (but not both)
# Use for PHP 4.x:
AddHandler php-script   php
# Use for PHP 5.x:
#AddHandler php5-script php

AddType text/html       php

# PHP Syntax Coloring
# (optional but useful for reading PHP source for debugging):
AddType application/x-httpd-php-source phps

#####################################################################


3 - change
/etc/httpd/conf.d/php.conf
AddType application/x-httpd-php .php
<Files *.php>
    LimitRequestBody 66000000
</Files>
# 3*size (22MB)


4 - várias alterações em:
/etc/php.ini

Max_execution_time = 60
max_input_time = 60
memory_limit = 66M
; 3* size
...
...
...
Post_Max_size = 66M
...
...
...
File_uploads = On
Upload_tmp_dir = /tmp
Upload_max_filesize = 22M
; size of real upload
...
...
...
default_socket_timeout = 300


- That's all (I think)

Work fine in three servers
fedora at m7info . com . br
Marco A. Varanda    





More information about the bugs mailing list