Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.