Even if you are on a shared host, it shouldn't be possible for a PHP script to "has overload our server to the point of crashing it" - unless you have 100s of users visiting your site simulateously, which is not the case as you stated. So I assume the server has not been optimized correctly.
My suggestion: switch the host. If you need a good recommendation, PM me (I don't want to advertise in public)