Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-23-2003, 05:15 AM   #1
LQ Newbie
Registered: May 2003
Distribution: RH 8.0
Posts: 2

Rep: Reputation: 0
Uploading a file > than default configured limit

i got this error when uploading a file, but don't know where to configure the file size. anyone can help, really appreciate it. thanks.

Requested content-length of 4779965 is larger than the configured limit of 524288. I have configured php to upload 10 MB file.

System: RH8.0, apache 2.0.40.

Last edited by orcasy; 06-23-2003 at 05:32 AM.
Old 06-23-2003, 05:40 AM   #2
LQ Newbie
Registered: May 2003
Distribution: RH 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
found the solution, supposed to go to

edit the php.conf file.

look for the line

LimitRequestBody 524288

& changed it to

LimitRequestBody 10485760

Restarted apache. and it works.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and File Uploading Tomasfuego Linux - Software 6 08-12-2004 10:20 AM
problems with http file uploading baczer Linux - Software 0 06-30-2004 09:26 AM
uploading a file and cant resume skog Slackware 0 03-08-2004 11:11 PM
Error uploading file with PHP jacksmash Programming 8 11-22-2003 12:11 PM
uploading file from the client to the server Bheki Linux - Newbie 2 06-11-2002 08:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration