CentOS 7.x Installing PHP 5.5

From Notes_Wiki
Revision as of 06:57, 25 August 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 7.x > System Administration > Package management > 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


Home > CentOS > CentOS 7.x > System Administration > Package management > CentOS 7.x Installing PHP 5.5