Posted by Danny Wong on 08/10/05 06:50
Hi,
Seems the php.ini in the server blocks the file size. Refer to php
manual, the default upload size is limited to 2M. You may need to check
with the server administrator. If you are using virtual hosting service,
you may need to use other method like ftp to upload such large file. Hope
this help.
Danny
"Guillaume ALLEON" <guillaume.alleon@laposte.net>
???????:42f2f037$0$28661$636a15ce@news.free.fr...
>I use POST to transfer a file from my client to the server. It is
> working up to a limit. Trying to transfer a file of 60 MBytes fails
> with an error message of 3 which seems to mean "file partially
> transfered" ?!
>
> I did setin /etc/php.ini:
>
> post_max-size = 80M
> ;;;;;;;;;;;;;;;;
> ; 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 = 80M
>
> and in /etc/httpd/conf.d/php.conf
>
> #
> <Files *.php>
> SetOutputFilter PHP
> SetInputFilter PHP
> AcceptPathInfo On
> LimitRequestBody 2097152
> </Files>
>
> Any suggestion ? - I am running RedHat 9 & php-4.3.4-1.1.
>
> Guillaume
Navigation:
[Reply to this message]
|