Search Engine: Elastic

Article ID: 132126, created on Jan 25, 2018, last review on Jan 25, 2018

  • Applies to:
  • APS


How to upgrade php from 5.4 to 5.5 on CentOS 7?


Create a file with sh extension, put the following contents to it, make the file executable with chmod +x file_name , launch the file

#!/bin/bash -x
set -e
rpm -Uvh
rpm -Uvh
yum install yum-plugin-replace -y
yum replace php-common --replace-with=php55w-common -y
service httpd restart
php -v


Email subscription for changes to this article
Save as PDF