|
|
Rank: Member Groups: Member
Joined: 12/17/2003 Posts: 13 Points: 0
|
I have just downloaded the trial version of Imag Uploader. I systematically got the following error during the preparation phase on my browser: "Error sending request. Probably the requesting page is not available". On the server-side, in httd error logs (apache), I have : "requested content-lenght of 1993557 is larger than the configured limit of 524288". My question is : how can i increase this value ? Thanks a lot for your comments. :) Paul 3_14@mail.com
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 8/2/2003 Posts: 709 Points: 108
|
Hello Paul, Unfortunately I am not guru in Apache and PHP, so I cannot answer you where exactly to configure. Consult your system administrator or Apache community how to increase maximum upload data size for Apache. By the way, you will have the same problem if you try to upload file using HTML form... Sincerely yours, Andrew Simontsev from Aurigma Team
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
You should check php.ini file. You can raise max size there. Here is sample: Code:upload_max_filesize = 999999999 file_uploads = On upload_tmp_dir = C:\TEMP\
max_execution_time = 9000 memory_limit = 999999999 post_max_size = 999999999
Best regards, Fedor Skvortsov
|
|
Rank: Member Groups: Member
Joined: 12/17/2003 Posts: 13 Points: 0
|
Hello
thanks for your answers. I found the problem:
on my linux server, there are two places to change the Upload max file size: 1) in file /etc/php.ini post_max_size = 80M (for 80 MB) 2) in file /etc/httpd/conf.d/php.conf LimitRequestBody 80000000 (for 80 MB)
Then restart your Apache web server to commit changes : service httpd restart
After that, no more problem. So it was a system-related problem.
Hope this helps for Linux users :D
bye, Paul
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
You can see detailed instructions in PHP Samples topic.
Best regards, Fedor Skvortsov
|
|
|
Guest |