Maximum upload size

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
yahiouh
-


Joined: 28 Dec 2007
Posts: 3

PostPosted: Fri Dec 28, 2007 3:23 pm    Post subject: Maximum upload size Reply with quote

Hi all of you,

I am using php with FastCGI, I got the following error message while uploading some file:
Code:
PHP Warning:  POST Content-Length of 82280978 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

whereas my php.ini is configured to allow posting up to 100M-files:
Code:
file_uploads = On
upload_max_filesize = 100M


Would it be the FastCGI library taht limit the upload size to 8388608 ?
Can I configure it somewhere?

Regards,
Y.
Back to top View user's profile Send private message
yahiouh
-


Joined: 28 Dec 2007
Posts: 3

PostPosted: Fri Dec 28, 2007 8:52 pm    Post subject: Maximum upload size Reply with quote

Hi all,


I found it, the limitation comes from limitation in memory and post verb.
Code:
memory_limit = 100M
post_max_size = 100M


These works fine.

Regards,
Y.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jan 02, 2008 4:58 pm    Post subject: Re: Maximum upload size Reply with quote

yahiouh,

Increasing max_input_time in your php.ini may help if you are uploading a file on a slow connection. By default it is set to 60 seconds but this is sometimes not enough time to upload a 100 MB file even on a local (bad) wireless network.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
yahiouh
-


Joined: 28 Dec 2007
Posts: 3

PostPosted: Thu Jan 03, 2008 8:42 am    Post subject: Re: Maximum upload size Reply with quote

Hi 'Support',

Thanks for your help, I have also spotted the max_input_time parameter and it was already correctly sized for my network connections.

Regards,
Y.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group