Ok, I'm realy at a loss here. Our Website is powered by PHP for templating and other typical stuff. One day PHP started crashing for no reason. There arn't any errors in the logs and I can't narrow it down to when or where it's crashing. And, its JUST php, the server is still running and serving pages up like normal but it won't process PHP, just sends the php file. So, the users get a download box. I restart Apache and it works again but after a while it crashes again. It's random too, never after so many min. It'll happen about 10 seconds after the Apache restart and then it'll last for hours another time.
I've tried reinstalling PHP and Apache twice, both up to date. I made new configuration files for both PHP and Apache. I've used the recomended ini file for php and modified only a few options. Apache has a standard setup, vhosts etc..., nothing major.
I thought it could have been our code crashing it some how but it was all of a suddenly crashing. So, I had been working on a new system so I that going and it's doing the same thing. ALL new code.
I also found this "bogus" bug. We do use preg_replace, so I don't know if it could be the problem. So, I've tried rolling back to PHP 4.3.2, no luck.
Our setup:
Win 2k Server (up-to-date w/ patches)
Apache 2.0.48 (installed as a NT service)
PHP 4.3.4 (installed as a module)
I realy don't know where to go with this one, any help would be great. Thanks!