- 论坛徽章:
- 0
|
IMP修改什么参数可以增加附件的大小?
因为IMP是用PHP写的,所以需要修改PHP的配置文件php.ini。如果默认的RPM安装的话,此文件应在/etc/php.ini,里面有这么一段:
;;;;;;;;;;;;;;;;
; 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.
upload_max_filesize = 50M
另外,如果要允许上传较大的邮件,还需要修改下面。
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 300 ; Maximum execution time of each script, in seconds
memory_limit = 50M ; Maximum amount of memory a script may consume (8MB) |
|