CentOS 7.x Installing PHP 5.5

From Notes_Wiki
Revision as of 16:01, 23 January 2017 by Saurabh (talk | contribs)

<yambe:breadcrumb>CentOS_7.x_package_management|CentOS 7.x package management</yambe:breadcrumb>

CentOS 7.x Installing PHP 5.5

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