phplinuxoraclelinux

Update php on Oracle Linux Server


I have an Oracle Linux Server. I am trying to install PHP. PHP 5.4 installed on OLS. Is there a way to update to php 7.2? When I run yum install php it installs version 5.4.

UPDATE I reinstall linux to ubuntu. There is no any problem on ubuntu


Solution

  • sudo yum install oracle-php-release-el7
    sudo yum install php
    

    See also: https://yum.oracle.com/oracle-linux-php.html