Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
tachtler:centos_7_-_sclo_software_collections [2017/11/29 09:06] – [PHP 7.1: Konfiguration] klaus | tachtler:centos_7_-_sclo_software_collections [2017/11/29 15:15] (aktuell) – [/etc/opt/rh/rh-php71/php-fpm.d/www.conf] klaus |
---|
</code> | </code> |
| |
| ===== PHP 7.1 php-fpm: Installation ===== |
| |
| Die Installation erfolgt mit der Installation von [[tachtler:centos_7_-_sclo_software_collections#php_71installation|SCLO (Software Collections) - PHP 7.1: Installation]] |
| * **''rh-php71''** - ist im ''sclo''-Repository von [[http://www.centos.org|CentOS]] enthalten |
| |
| Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket **''rh-php71-php-fpm''** installiert wurden: |
| <code> |
| # rpm -qil rh-php71-php-fpm |
| Name : rh-php71-php-fpm |
| Version : 7.1.8 |
| Release : 1.el7 |
| Architecture: x86_64 |
| Install Date: Wed 29 Nov 2017 09:34:07 AM CET |
| Group : Development/Languages |
| Size : 4521561 |
| License : PHP and Zend and BSD and MIT and ASL 1.0 |
| Signature : RSA/SHA1, Mon 30 Oct 2017 11:19:43 AM CET, Key ID 4eb84e71f2ee9d55 |
| 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 : CBS <cbs@centos.org> |
| Vendor : CentOS |
| URL : http://www.php.net/ |
| Summary : PHP FastCGI Process Manager |
| 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. |
| /etc/logrotate.d/rh-php71-php-fpm |
| /etc/opt/rh/rh-php71/php-fpm.conf |
| /etc/opt/rh/rh-php71/php-fpm.d |
| /etc/opt/rh/rh-php71/php-fpm.d/www.conf |
| /etc/opt/rh/rh-php71/sysconfig/php-fpm |
| /etc/systemd/system/rh-php71-php-fpm.service.d |
| /opt/rh/rh-php71/deregister.d/40-preun-fpm |
| /opt/rh/rh-php71/deregister.d/60-postun-fpm |
| /opt/rh/rh-php71/register.content/etc/logrotate.d |
| /opt/rh/rh-php71/register.content/etc/logrotate.d/rh-php71-php-fpm |
| /opt/rh/rh-php71/register.content/etc/opt/rh/rh-php71/php-fpm.conf |
| /opt/rh/rh-php71/register.content/etc/opt/rh/rh-php71/php-fpm.d |
| /opt/rh/rh-php71/register.content/etc/opt/rh/rh-php71/php-fpm.d/www.conf |
| /opt/rh/rh-php71/register.content/etc/opt/rh/rh-php71/sysconfig |
| /opt/rh/rh-php71/register.content/etc/opt/rh/rh-php71/sysconfig/php-fpm |
| /opt/rh/rh-php71/register.content/etc/systemd |
| /opt/rh/rh-php71/register.content/etc/systemd/system |
| /opt/rh/rh-php71/register.content/etc/systemd/system/rh-php71-php-fpm.service.d |
| /opt/rh/rh-php71/register.content/usr |
| /opt/rh/rh-php71/register.content/usr/lib |
| /opt/rh/rh-php71/register.content/usr/lib/systemd |
| /opt/rh/rh-php71/register.content/usr/lib/systemd/system |
| /opt/rh/rh-php71/register.content/usr/lib/systemd/system/rh-php71-php-fpm.service |
| /opt/rh/rh-php71/register.content/var/opt/rh/rh-php71/lib/php/session |
| /opt/rh/rh-php71/register.content/var/opt/rh/rh-php71/lib/php/wsdlcache |
| /opt/rh/rh-php71/register.content/var/opt/rh/rh-php71/log |
| /opt/rh/rh-php71/register.content/var/opt/rh/rh-php71/log/php-fpm |
| /opt/rh/rh-php71/register.content/var/opt/rh/rh-php71/run |
| /opt/rh/rh-php71/register.content/var/opt/rh/rh-php71/run/php-fpm |
| /opt/rh/rh-php71/register.d/60-post-fpm |
| /opt/rh/rh-php71/root/usr/sbin/php-fpm |
| /opt/rh/rh-php71/root/usr/share/doc/rh-php71-php-fpm-7.1.8 |
| /opt/rh/rh-php71/root/usr/share/doc/rh-php71-php-fpm-7.1.8/php-fpm.conf.default |
| /opt/rh/rh-php71/root/usr/share/doc/rh-php71-php-fpm-7.1.8/www.conf.default |
| /opt/rh/rh-php71/root/usr/share/fpm |
| /opt/rh/rh-php71/root/usr/share/fpm/status.html |
| /opt/rh/rh-php71/root/usr/share/licenses/rh-php71-php-fpm-7.1.8 |
| /opt/rh/rh-php71/root/usr/share/licenses/rh-php71-php-fpm-7.1.8/fpm_LICENSE |
| /opt/rh/rh-php71/root/usr/share/man/man8/php-fpm.8.gz |
| /usr/lib/systemd/system/rh-php71-php-fpm.service |
| /var/opt/rh/rh-php71/lib/php/opcache |
| /var/opt/rh/rh-php71/lib/php/session |
| /var/opt/rh/rh-php71/lib/php/wsdlcache |
| /var/opt/rh/rh-php71/log/php-fpm |
| /var/opt/rh/rh-php71/run/php-fpm |
| </code> |
| |
| ===== PHP 7.1 php-fpm: Konfiguration ===== |
| |
| ==== /etc/opt/rh/rh-php71/php-fpm.d/www.conf ==== |
| |
| Die Konfiguration findet im Gegensatz zum "normalen" PHP 5.4.16 **ab dem Verzeichnis** |
| * ''/etc/opt/rh/rh-php71/'' |
| statt. |
| |
| :!: **HINWEIS** - **Die weitere Konfiguration, __bis auf die Pfade__ ist genau so wie in der PHP Version 5.4.16** |
| |
| Siehe auch den nachfolgenden internen Link |
| * [[tachtler:apache_http_server_centos_7_-_php-fpm_-_alternativer_php-interpreter|Apache HTTP Server CentOS 7 - php-fpm - Alternativer PHP-Interpreter]] |
| |