Fixed php not found problem while installing composer dependencies