Portal Home > Knowledgebase > Virtual Private Servers (VPS) > CentOS VPS > Install / upgrade PHP using YUM and RPM packages


Install / upgrade PHP using YUM and RPM packages




ServerGrove provides a YUM repository with the latest PHP versions packages in RPM. This makes dead simple to install and upgrade PHP. Follow these steps to setup the repository in your server and install/upgrade PHP:

  1. Download .repo and place it in /etc/yum.repos.d
  2. Install PHP:
    $ yum install php53
  3. Install PHP Apache module:
    $ yum install php53-mod_php
To upgrade PHP, simple run:
yum upgrade

 



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
yum upgrade fails (Views: 1139)