1

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

2
  • There is only one tutorial on official site. Its always installs 5.4 version. Commented Jan 24, 2020 at 8:03
  • 1
    OLS is a fork of RHEL. So with luck something which works for RHEL would also work for OLS. Commented Jan 24, 2020 at 11:07

1 Answer 1

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

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

Sign up to request clarification or add additional context in comments.

1 Comment

Hi, i reinstall os to ubuntu. I can not check it, thanks for answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.