tachtler:centos_7_-_sclo_software_collections
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:centos_7_-_sclo_software_collections [2017/11/29 09:00] – [PHP 7.1: Installation] klaus | tachtler:centos_7_-_sclo_software_collections [2017/11/29 15:15] (aktuell) – [/etc/opt/rh/rh-php71/php-fpm.d/www.conf] klaus | ||
---|---|---|---|
Zeile 127: | Zeile 127: | ||
Zur Installation wird nachfolgendes Paket benötigt: | Zur Installation wird nachfolgendes Paket benötigt: | ||
* **'' | * **'' | ||
- | installiert werden. | ||
Mit nachfolgendem Befehl, wird das Pakete **'' | Mit nachfolgendem Befehl, wird das Pakete **'' | ||
< | < | ||
# yum install rh-php71 | # yum install rh-php71 | ||
+ | Loaded plugins: changelog, priorities | ||
+ | 276 packages excluded due to repository priority protections | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package rh-php71.x86_64 0:1-1.el7 will be installed | ||
+ | --> Processing Dependency: rh-php71-runtime(x86-64) = 1-1.el7 for package: rh-php71-1-1.el7.x86_64 | ||
+ | --> Processing Dependency: rh-php71-runtime for package: rh-php71-1-1.el7.x86_64 | ||
+ | --> Processing Dependency: rh-php71-php-pear for package: rh-php71-1-1.el7.x86_64 | ||
+ | --> Processing Dependency: rh-php71-php-common(x86-64) for package: rh-php71-1-1.el7.x86_64 | ||
+ | --> Processing Dependency: rh-php71-php-cli(x86-64) for package: rh-php71-1-1.el7.x86_64 | ||
+ | --> Running transaction check | ||
+ | ---> Package rh-php71-php-cli.x86_64 0: | ||
+ | ---> Package rh-php71-php-common.x86_64 0: | ||
+ | --> Processing Dependency: rh-php71-php-zip(x86-64) = 7.1.8-1.el7 for package: rh-php71-php-common-7.1.8-1.el7.x86_64 | ||
+ | --> Processing Dependency: rh-php71-php-json(x86-64) = 7.1.8-1.el7 for package: rh-php71-php-common-7.1.8-1.el7.x86_64 | ||
+ | ---> Package rh-php71-php-pear.noarch 1: | ||
+ | --> Processing Dependency: rh-php71-php-xml for package: 1: | ||
+ | --> Processing Dependency: rh-php71-php-posix for package: 1: | ||
+ | ---> Package rh-php71-runtime.x86_64 0:1-1.el7 will be installed | ||
+ | --> Processing Dependency: scl-utils for package: rh-php71-runtime-1-1.el7.x86_64 | ||
+ | --> Processing Dependency: policycoreutils-python for package: rh-php71-runtime-1-1.el7.x86_64 | ||
+ | --> Running transaction check | ||
+ | ---> Package policycoreutils-python.x86_64 0: | ||
+ | --> Processing Dependency: setools-libs >= 3.3.8-1 for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libsemanage-python >= 2.5-5 for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libselinux-python for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | --> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | ---> Package rh-php71-php-json.x86_64 0: | ||
+ | ---> Package rh-php71-php-process.x86_64 0: | ||
+ | ---> Package rh-php71-php-xml.x86_64 0: | ||
+ | ---> Package rh-php71-php-zip.x86_64 0: | ||
+ | ---> Package scl-utils.x86_64 0: | ||
+ | --> Running transaction check | ||
+ | ---> Package audit-libs-python.x86_64 0: | ||
+ | ---> Package checkpolicy.x86_64 0:2.5-4.el7 will be installed | ||
+ | ---> Package libcgroup.x86_64 0: | ||
+ | ---> Package libselinux-python.x86_64 0: | ||
+ | ---> Package libsemanage-python.x86_64 0:2.5-8.el7 will be installed | ||
+ | ---> Package python-IPy.noarch 0: | ||
+ | ---> Package setools-libs.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Changes in packages about to be updated: | ||
+ | |||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ================================================================================ | ||
+ | | ||
+ | ================================================================================ | ||
+ | Installing: | ||
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================ | ||
+ | Install | ||
+ | |||
+ | Total download size: 7.0 M | ||
+ | Installed size: 21 M | ||
+ | Is this ok [y/d/N]: y | ||
+ | Downloading packages: | ||
+ | (1/18): audit-libs-python-2.7.6-3.el7.x86_64.rpm | ||
+ | (2/18): checkpolicy-2.5-4.el7.x86_64.rpm | ||
+ | (3/18): libcgroup-0.41-13.el7.x86_64.rpm | ||
+ | (4/18): libselinux-python-2.5-11.el7.x86_64.rpm | ||
+ | (5/18): libsemanage-python-2.5-8.el7.x86_64.rpm | ||
+ | (6/18): policycoreutils-python-2.5-17.1.el7.x86_64.rpm | ||
+ | (7/18): python-IPy-0.75-6.el7.noarch.rpm | ||
+ | warning: / | ||
+ | Public key for rh-php71-1-1.el7.x86_64.rpm is not installed | ||
+ | (8/18): rh-php71-1-1.el7.x86_64.rpm | ||
+ | (9/18): rh-php71-php-cli-7.1.8-1.el7.x86_64.rpm | ||
+ | (10/18): rh-php71-php-common-7.1.8-1.el7.x86_64.rpm | ||
+ | (11/18): rh-php71-php-json-7.1.8-1.el7.x86_64.rpm | ||
+ | (12/18): rh-php71-php-pear-1.10.4-1.el7.noarch.rpm | ||
+ | (13/18): rh-php71-php-process-7.1.8-1.el7.x86_64.rpm | ||
+ | (14/18): rh-php71-php-zip-7.1.8-1.el7.x86_64.rpm | ||
+ | (15/18): rh-php71-runtime-1-1.el7.x86_64.rpm | ||
+ | (16/18): rh-php71-php-xml-7.1.8-1.el7.x86_64.rpm | ||
+ | (17/18): setools-libs-3.3.8-1.1.el7.x86_64.rpm | ||
+ | (18/18): scl-utils-20130529-18.el7_4.x86_64.rpm | ||
+ | -------------------------------------------------------------------------------- | ||
+ | Total 7.7 MB/s | 7.0 MB 00:00 | ||
+ | Retrieving key from file:/// | ||
+ | Importing GPG key 0xF2EE9D55: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Is this ok [y/N]: y | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Installing : setools-libs-3.3.8-1.1.el7.x86_64 | ||
+ | Installing : checkpolicy-2.5-4.el7.x86_64 | ||
+ | Installing : audit-libs-python-2.7.6-3.el7.x86_64 | ||
+ | Installing : libcgroup-0.41-13.el7.x86_64 | ||
+ | Installing : python-IPy-0.75-6.el7.noarch | ||
+ | Installing : libselinux-python-2.5-11.el7.x86_64 | ||
+ | Installing : libsemanage-python-2.5-8.el7.x86_64 | ||
+ | Installing : policycoreutils-python-2.5-17.1.el7.x86_64 | ||
+ | Installing : scl-utils-20130529-18.el7_4.x86_64 | ||
+ | Installing : rh-php71-runtime-1-1.el7.x86_64 | ||
+ | Installing : rh-php71-php-zip-7.1.8-1.el7.x86_64 | ||
+ | Installing : rh-php71-php-json-7.1.8-1.el7.x86_64 | ||
+ | Installing : rh-php71-php-common-7.1.8-1.el7.x86_64 | ||
+ | Installing : rh-php71-php-cli-7.1.8-1.el7.x86_64 | ||
+ | Installing : rh-php71-php-process-7.1.8-1.el7.x86_64 | ||
+ | Installing : rh-php71-php-xml-7.1.8-1.el7.x86_64 | ||
+ | Installing : 1: | ||
+ | Installing : rh-php71-1-1.el7.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | rh-php71.x86_64 0: | ||
+ | |||
+ | Dependency Installed: | ||
+ | audit-libs-python.x86_64 0: | ||
+ | checkpolicy.x86_64 0: | ||
+ | libcgroup.x86_64 0: | ||
+ | libselinux-python.x86_64 0: | ||
+ | libsemanage-python.x86_64 0: | ||
+ | policycoreutils-python.x86_64 0: | ||
+ | python-IPy.noarch 0: | ||
+ | rh-php71-php-cli.x86_64 0: | ||
+ | rh-php71-php-common.x86_64 0: | ||
+ | rh-php71-php-json.x86_64 0: | ||
+ | rh-php71-php-pear.noarch 1: | ||
+ | rh-php71-php-process.x86_64 0: | ||
+ | rh-php71-php-xml.x86_64 0: | ||
+ | rh-php71-php-zip.x86_64 0: | ||
+ | rh-php71-runtime.x86_64 0: | ||
+ | scl-utils.x86_64 0: | ||
+ | setools-libs.x86_64 0: | ||
+ | |||
+ | Complete! | ||
</ | </ | ||
- | Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket **'' | + | Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket **'' |
< | < | ||
# rpm -qil rh-php71 | # rpm -qil rh-php71 | ||
+ | Name : rh-php71 | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Wed 29 Nov 2017 09:04:09 AM CET | ||
+ | Group : Development/ | ||
+ | Size : 0 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : rh-php71-1-1.el7.src.rpm | ||
+ | Build Date : Tue 08 Aug 2017 05:16:00 PM CEST | ||
+ | Build Host : c1bk.rdu2.centos.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | Summary | ||
+ | Description : | ||
+ | This is the main package for rh-php71 Software Collection, | ||
+ | that install PHP 7.1 language. | ||
+ | (contains no files) | ||
</ | </ | ||
===== PHP 7.1: Konfiguration ===== | ===== PHP 7.1: Konfiguration ===== | ||
- | Um vom **Standard** PHP zu PHP 7.1**__manuell__** zu wechseln, kann nachfolgender Befehl angewendet werden: | + | Um vom **Standard** PHP 5.4.16 |
< | < | ||
- | # scl enable rh-php70 bash | + | # scl enable rh-php71 bash |
</ | </ | ||
Zeile 149: | Zeile 348: | ||
< | < | ||
# php -v | # php -v | ||
+ | PHP 7.1.8 (cli) (built: Aug 9 2017 13:20:06) ( NTS ) | ||
+ | Copyright (c) 1997-2017 The PHP Group | ||
+ | Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies | ||
</ | </ | ||
bzw. | bzw. | ||
< | < | ||
- | # which php | + | # which php |
+ | / | ||
</ | </ | ||
- | :!: **ACHTUNG** - **Dies ist nach dem Neustart bzw. wechseln der '' | + | :!: **ACHTUNG** - **Dies ist nach dem Neustart bzw. verlassen oder wechseln der '' |
==== / | ==== / | ||
Zeile 169: | Zeile 372: | ||
</ | </ | ||
+ | ===== PHP 7.1 php-fpm: Installation ===== | ||
+ | |||
+ | Die Installation erfolgt mit der Installation von [[tachtler: | ||
+ | * **'' | ||
+ | |||
+ | Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket **'' | ||
+ | < | ||
+ | # rpm -qil rh-php71-php-fpm | ||
+ | Name : rh-php71-php-fpm | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Wed 29 Nov 2017 09:34:07 AM CET | ||
+ | Group : Development/ | ||
+ | Size : 4521561 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : rh-php71-php-7.1.8-1.el7.src.rpm | ||
+ | Build Date : Wed 09 Aug 2017 03:31:51 PM CEST | ||
+ | Build Host : c1bj.rdu2.centos.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI | ||
+ | implementation with some additional features useful for sites of | ||
+ | any size, especially busier sites. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | ===== PHP 7.1 php-fpm: Konfiguration ===== | ||
+ | ==== / | ||
+ | Die Konfiguration findet im Gegensatz zum " | ||
+ | * ''/ | ||
+ | statt. | ||
+ | :!: **HINWEIS** - **Die weitere Konfiguration, | ||
+ | Siehe auch den nachfolgenden internen Link | ||
+ | * [[tachtler: | ||
tachtler/centos_7_-_sclo_software_collections.1511942431.txt.gz · Zuletzt geändert: 2017/11/29 09:00 von klaus