just to make sure that is not your hosting playing with you, i would backup the installation you have now, and then i would set it up following this guide
https://bitcointalk.org/index.php?topic=264866.0after that it should work fine, but if it keeps dropping afterwards could mean your hosting not allowing you to mine for coins.
i hope it helps