V
V
Vladimir Revyakin2016-09-06 10:40:58
PHP
Vladimir Revyakin, 2016-09-06 10:40:58

How to upgrade php-fpm version (in conjunction with NGINX) on CentOS 7?

Tell me how to correctly update the php-fpm version on CentOS 7, PHP 5.4.16 is currently installed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Bukhalo, 2016-09-06
@jonimuesli

If you need to update packages from the standard repository, then just yum update. If you want to use another repository with a more recent version, then you need to connect the repository and install the latest versions. Here is an example using the https://webtatic.com
PHP 5.6 repository

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php56w-fpm php56w-opcache

PHP 7
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php70w-fpm php70w-opcache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question