Do you happen to have a really bad uptime for PHP’s APC, and it seems to randomly restart after 2 hours or so? Well, chances are that you are running cPanel/WHM on this server as well? The problem is that you need to enable Piped Loggin for Apache. This can be found under Apache [...]
How to restart Apache with PHP
If you ever need to restart Apache via PHP, you’ll notice that the “passthru” command doesn’t quite work out like you thought it would. For those of you who have cpanel and WHM installed, this will be an easy solution. cpanelmatt at the cpanel forums created an XML-API PHP class to be able to handle [...]