Page 1 of 1

File Upload = PHP + Apache Hang = Need reboot

Posted: Tue Mar 18, 2008 11:20 pm
by leea
Im having this nasty problem. I have a few hundred people using my site.

Basically it handles the uploads of documents size = 100kb-2mb.

It works for 95+% of the time. But eventually, it hangs (when someone is uploading), and then no one on the network can access the PHP site(view any page on the server).

Restarting apache wont fix the problem but rebooting the server does.

You can then upload the exact file and it will work flawlessly and wont have any effect on the PHP server.

I think it might be because people are force closing the window while the file is uploading.

Any ideas would be beneficial


Machine info (can offer more if needed)...
WinXP, Apache, MySQL, PHP5, CakePHP, lots of RAM/Space,
Using Sessions, cookies, ldap, commandline imagemagick (have to use proprietry image formats)

Re: File Upload = PHP + Apache Hang = Need reboot

Posted: Wed Mar 19, 2008 10:56 am
by Christopher
Use Linux instead of Windows XP. It honestly sounds like an OS problem. Linux is free. Installation of LAMP is easy, well documented and there is lots of support on the web. There is very little stopping you from trying it.

Re: File Upload = PHP + Apache Hang = Need reboot

Posted: Wed Mar 19, 2008 5:50 pm
by leea
Hmm. I forgot to mention that its a virtual server.

Im so darn limited by IT with what I can use in regards to platform.

Maybe i can find an old machine and linuxerise it.

Re: File Upload = PHP + Apache Hang = Need reboot

Posted: Wed Mar 19, 2008 6:31 pm
by Christopher
You might mention to them that only very recently has Microsoft release the necessary information for Zend/PHPGroup to make PHP truly stable on Windows.