A
A
andreystrelkov2016-07-04 22:06:38
linux
andreystrelkov, 2016-07-04 22:06:38

How to upgrade from PHP5.4 to PHP7 on Red Hat 7.1?

Good evening, please tell me how to upgrade the php version from 5.4 to 7th on Red Hat
Is it possible to do this completely manually, I don’t understand linux well, as I know to upgrade, it turns out that all library dependencies need to be updated, the trouble is that the virtual machine does not have an Internet connection, and it turns out you need to somehow mess with your repository, or somehow change the files
as it will be more correct

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
O Di, 2016-07-04
@insiki

yum search php70
?
RHEL version 7.2

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
subscription-manager repos --enable=rhel-7-server-optional-rpms

blog.remirepo.net/post/2016/02/14/Install-PHP-7-on...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question