Loading...
 
Features / Usability

Features / Usability


Uploading a file

posts: 2
I was trying to upload a file in a file gallery that is 2.60 mb. And I couldn´t. How can I upload a file that is higger than 2.5 mb???
posts: 80 Austria

> I was trying to upload a file in a file gallery that is 2.60 mb. And I couldn´t. How can I upload a file that is higger than 2.5 mb???
Edit the php.ini, and set "upload_max_filesize = 32M" greater than your maximum filesize :

;;;;;;;;;;;;;;;; ; 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 = 32M

You may alos want to edit:

;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 60 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)