Can't do it.
Or at least I don't know how :-)
All ColdFusion does to cache queries is store the result-set in RAM until it's needed again. I don't know if PHP alone could do this, because its just a scripting language, ColdFusion is a whole application server with all kindsa fancy intermediate stuff built in.
If you write the result-set to disk with PHP and work carefully on only caching the big slow queries, you can easily speed your application up by not hitting the database so much, especially on a site with a lot of traffic.