yum clean all; yum replace php --replace-with=php54
Loaded plugins: fastestmirror, priorities, protectbase, replace
Cleaning repos: base extras mratwork-epel mratwork-google-mod-pagespeed
: mratwork-ius-archive mratwork-ius-stable mratwork-nginx
: mratwork-nginx-stable mratwork-release-neutral-noarch
: mratwork-release-version-arch mratwork-varnish-3.0 updates
: vz-base vz-updates
Cleaning up Everything
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Error: Package 'php' is not installed.
sh /script/fixweb; sh /script/fixphp; sh /script/restart-web -y
*** Process Time: 00:00:00:02.2066 (dd:hh:mm:ss:xxxxxx) ***
Stopping nginx: [ OK ]
Starting nginx: [ OK ]
-------------------------------------------------------------------
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
-------------------------------------------------------------------
Stopping php54m-fpm: [FAILED]
Starting php54m-fpm: [02-Jan-2015 07:00:58] ERROR: Unable to create the PID file (/var/run/php-fpm/php-fpm.pid).: No such file or directory (2)
[02-Jan-2015 07:00:58] ERROR: FPM initialization failed
[FAILED]
-------------------------------------------------------------------
- For help, type '/script/restart-web [--help|-h]'