Install php-fpm-5.4.16-42. Minor problems encountered

Source: Internet
Author: User
Tags fpm install php

Build LNMP today when installed PHP-FPM appeared a problem for one hours finally solved the problem, make the next record convenient for everyone to check although very small pediatric.

Environment: The Redhat 7.2 version of the Yum source is also 7.2 iso
[[email protected] lnmp_soft]# yum-y install php-fpm-5.4.16-42.el7.x86_64. RPM
Loaded plugins: LangPacks, Product-id, Search-disabled-repos, Subscription-manager
This system was not registered to Red Hat Subscription Management. You can use the Subscription-manager to register.
Checking php-fpm-5.4.16-42.el7.x86_64.rpm:php-fpm-5.4.16-42.el7.x86_64
php-fpm-5.4.16-42.el7.x86_64.rpm will be installed
Resolving dependencies
-checking transactions
---> Package php-fpm.x86_64.0.5.4.16-42.el7 will be installed
-processing dependencies Php-common ( x86-64) = 5.4.16-42.el7, which is required by the package php-fpm-5.4.16-42.el7.x86_64
--To resolve dependency completion
Error: Package: php-fpm-5.4.16-42.el7.x86_64 (/php-fpm-5.4.16-42.el7.x86_64)
Required: Php-common (x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-36.el7_1.x86_64 (@development)
Php-common (x86-64) = 5.4.16-36.el7_1
You can try to add-- The Skip-broken option to resolve the problem
you can try to do: Rpm-va--nofiles--nodigest

When the package is prompted to report the wrong version of the Php-common is wrong! Requires Php-common (x86-64) = 5.4.16-42.el7 but Yum has only php-common-5.4.16-36.el7_1.x86_64 packets.

Rpm-q PHP
Php-5.4.16-36.el7_1.x86_64
Found PHP version is this, I would like to find Php-common online (x86-64) = 5.4.16-42.el7
Helpless looking for a long time did not find the corresponding version, in line with the high version compatible with the principle of a low version to find a php-common-5.4.16-45.el7.x86_64.rpm ye can not upgrade ...
PHP Dependency Package Too many can not be upgraded separately Php-common ... Heart tired ...

Also Chans attempted execution: Rpm-va--nofiles--nodigest The installation still prompts to escalate the error.

Assertion is a PHP version and PHP-FPM version incompatibility issue

Workaround:
1. I mounted a 7.4 image on the 7.2 system as a Yum source and then yum-y install php-fpm-5.4.16-42.el7.x86_64.rpm found that all PHP dependent dependencies were upgraded to the corresponding version ...
Rpm-q PHP
Php-5.4.16-42.el7.x86_64
All right, PHP-FPM, put it on.
2, in fact, not so complicated. So keep the original version does not move, directly find the PHP version corresponding to the PHP-FPM is good ...
All over the Internet, a php-fpm-5.4.16-36.el7_1.x86_64.rpm.
You will be able to succeed in a moment. PHP corresponds to all versions of 5.4.16-36.. No test has not known which version of the performance is better, it is estimated that the higher version of it, anyway, this package is loaded. Mark a moment ...

Install php-fpm-5.4.16-42. Minor problems encountered

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.