Yum install Nginx and PHP version is too low, online to find a new source, record!
Source text: https://webtatic.com/packages/php70/
Under Linux, execute the following command:
Centos/rhel 7.x:
RPM-UVH https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmRPM-UVH https: // mirror.webtatic.com/yum/el7/webtatic-release.rpm
Centos/rhel 6.x:
RPM-UVH https://mirror.webtatic.com/yum/el6/latest.rpm
Now the can install PHP 7.0 (along with a opcode cache) by doing:
Yum Install php70w Php70w-opcache
Note
RPM is a "Add/Remove Program" in Windows like Redhat Package Manager (Redhat Packages management tool)
RPM Execution Installation package
Binary packages (binary) and source code packages (sources) are two types. Binary packages can be installed directly on the computer, and the source code package will be automatically compiled and installed by RPM. Source code packages often use src.rpm as the suffix name.
Common Command combinations:
-IVH: Installation shows installation progress--install--verbose--HASH-UVH: Upgrade Package --UPDATE;-QPL: Lists the file information in the RPM package [Query Packages list] ;-qpi: Lists description information for RPM packages [query package install package (s)];-QF: Find which rpm package the specified file belongs to [query File];-va: Verify all RPM packages to find missing files [ View LOST];-E: Deleting a package
Rpm-q Samba//whether the query program is installedrpm-ivh/media/cdrom/redhat/rpms/samba-3.0.Ten-1.4e.i386.rpm//install and show progress by PathRPM-IVH--relocate/=/opt/gaim gaim-1.3.0-1. fc4.i386.rpm//specifying the installation directoryrpm-IVH--test gaim-1.3.0-1. fc4.i386.rpm//used to check dependencies; not a real installation;RPM-UVH--oldpackage gaim-1.3.0-1. fc4.i386.rpm//new version downgraded to old versionrpm-qa | grep httpd #[Search Specifies whether RPM packages are installed]--all search *httpd*rpm-QL httpd #[Search RPM Package]--list all Files install directory rpm-qpi linux-1.4-6. i368.rpm #[View RPM Package]--query--package--Install package information rpm-QPF linux-1.4-6. i368.rpm #[View RPM Package]--filerpm-QpR file.rpm #[View Package] dependencies Rpm2cpio file.rpm|cpio-Div #[Extract File]rpm-IVH file.rpm #[Installing the new rpm]--install--verbose--hashrpm-ivhrpm-UVH file.rpm #[Upgrade a rpm]--upgraderpm-E file.rpm #[Delete an RPM package]--erase
Linux Learning notes update yum install latest nginx+php