Imported from : https://github.com/heroku-warrior/buildpack-php5
Changed the detection mechanism ...