Making sure that the php54 repository is added at the beginning of the process and that the latest version from repository, 5.4, is installed