Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the same web application written in PHP running on 2 different machines. On one of the machines, connections are often abort while uploading big files via HTTP; while on the other machine, the application runs perfectly. Both machines run on CentOS, but it was not installed and configured by me. The webserver software is XAMPP for Linux, which was installed and configured by me, so I am sure that they share exactly the same configurations.

So what are the possible reasons for the problem?

share|improve this question

Check the php.ini files on each system and verify that the values for upload_max_filesize and post_max_size are set to something sane.

share|improve this answer
They have the same values on both machines. Actually, I set upload_max_filesize, post_max_size, memory_limit and max_execution_time with ini_set() in the PHP code. – powerboy Nov 15 '10 at 1:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.