PHP running slow

I have a PHP code in my web page that runs slow (super slow) on Dreamhost servers but fast (normal) on other host’s servers. Technical support it totally unhelpful. Any advice? I would prefer to stay on Dreamhost because I think that changing hosts is going to be a pain. Are there some tricks that can accelerate PHP?

Can you show us the code? How about a url? Other than just saying tech support was “unhelpful”, what did they say? We can’t give much relevant advice without more information :wink: