CentOS 7.x Installing PHP 5.5

From Notes_Wiki
Revision as of 11:08, 4 August 2016 by Saurabh (talk | contribs)

<yambe:breadcrumb>CentOS 7.x specific issues</yambe:breadcrumb>

Installing PHP 5.5 on CentOS 7.0

To install PHP 5.5 on CentOS 7.0 use following steps:

  1. rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
  2. rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
  3. yum install php55w php55w-opcache

In case php-common is already installed then at some risk use:

  1. yum install yum-plugin-replace
  2. yum replace php-common --replace-with=php55w-common


Steps were contributed by Kiran Kollipara