adjust php 5.4 packages for amazon linux ami