1 (edited by FDL 2018-07-17 07:28:08)

Topic: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

Bonjour,
je suis en train de tenter de mettre en place dans un contexte multi-instances web plusieurs version de PHP ( PHP70 sclo/rh repos + PHP72 remi repo).
Je me heurte à un petit souci.
Malgré le changement du numéro de port, le moteur ne veut pas démarrer. je suspecte un souci de nommage de binaire (php-fpm des 2 côtés).
(éléments techniques à suivre).
Centos 7.3 (me demande si c'est pas ça le souci ... )
juil. 17 09:03:35 l417501pdev02 kernel: php-fpm[29487]: segfault at ffffff8000000010 ip 00007f2f9501dbfa sp 00007ffcfe2403d0 error 5 in opcache.so[7f2f9500e000+64000]
juil. 17 09:03:35 l417501pdev02 abrt-hook-ccpp[29488]: Process 29487 (php-fpm) of user 0 killed by SIGSEGV - dumping core
juil. 17 09:03:36 l417501pdev02 systemd[1]: php72-php-fpm.service: main process exited, code=dumped, status=11/SEGV

dans l'instance, php -v:
PHP 7.2.7 (cli) (built: Jun 20 2018 07:26:08) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.2, Copyright (c) 2002-2018, by ionCube Ltd.
    with Zend OPcache v7.2.7, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
sous root:
php72 --version
PHP 7.2.7 (cli) (built: Jun 20 2018 07:26:08) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.2, Copyright (c) 2002-2018, by ionCube Ltd.
    with Zend OPcache v7.2.7, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
php72 --modules
Erreur de segmentation (core dumped)

Donc,
j'ai retiré le pacjkage opcache:
yum remove php72-php-opcache-7.2.7-1.el7.remi.x86_64
et maintenant ça fonctionne ...

systemctl start php72-php-fpm.service
ps -leaf|grep php
4 S root     29933     1  2  80   0 - 384898 ep_pol 09:26 ?       00:00:00 php-fpm: master process (/etc/opt/remi/php72/php-fpm.conf)
5 S labot02  29934 29933  0  80   0 - 385419 inet_c 09:26 ?       00:00:00 php-fpm: pool labot02
5 S labot02  29935 29933  0  80   0 - 385419 inet_c 09:26 ?       00:00:00 php-fpm: pool labot02
5 S labot02  29936 29933  0  80   0 - 385419 inet_c 09:26 ?       00:00:00 php-fpm: pool labot02
5 S labot02  29937 29933  0  80   0 - 385419 inet_c 09:26 ?       00:00:00 php-fpm: pool labot02
5 S labot02  29938 29933  0  80   0 - 385419 inet_c 09:26 ?       00:00:00 php-fpm: pool labot02
0 R root     29951  3984  0  80   0 - 28166 -      09:26 pts/0    00:00:00 grep --color=auto php

y a t'il un souci sur opcache?

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

> rémi repo

c'est juste "remi", sans accent (j'y tiens)

> Centos 7.3 (me demande si c'est pas ça le souci ... )

Clairement oui, il faut tester sur la 7.5

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by FDL 2018-07-17 07:42:16)

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

erf ... le souci c'est qu'on nous impose un niveau de version ... actuellement, à ma connaissance, c'est toujours du 7.3 ....
(DSL pour l'accent sur Remi smile )

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

> y a t'il un souci sur opcache?

Euh.. je vois pas trop...
Tu peux esssayer avec opcache.huge_code_pages=0 ?

(je sais qu'il y a des soucis, mais surtout sous RHEL/CentOS 6, en raison du noyau utilisé)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

Après, faudrait chopper un backtrace du segfault avec gdb

Sinon, quelle est la liste exacte des paquets installés ?  (rpm -qa php72\*)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

6 (edited by FDL 2018-07-17 09:05:57)

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

Je réinstalle opcache, intègre la var huge_page et te fais un retour.
[EDIT] c'est bon, ça passe ....
packages installés part1:
php72-php-pecl-pcs-1.3.3-3.el7.remi.x86_64
php72-php-pecl-psr-devel-0.4.0-2.el7.remi.x86_64
php72-php-pecl-couchbase2-2.5.0-1.el7.remi.x86_64
php72-php-pecl-ds-1.2.6-1.el7.remi.x86_64
php72-php-pecl-sphinx-1.4.0-0.3.20170203git201eb00.el7.remi.x86_64
php72-php-pecl-libsodium-1.0.7-1.el7.remi.x86_64
php72-php-pecl-cassandra-1.3.2-1.el7.remi.x86_64
php72-php-geos-1.0.0-9.el7.remi.x86_64
php72-php-pecl-json-post-1.0.1-7.el7.remi.x86_64
php72-php-pecl-sync-1.1.1-2.el7.remi.x86_64
php72-php-phpiredis-1.0.0-3.el7.remi.x86_64
php72-php-pecl-xmldiff-1.1.2-11.el7.remi.x86_64
php72-php-pear-1.10.5-6.el7.remi.noarch
php72-php-pecl-yaconf-devel-1.0.7-1.el7.remi.x86_64
php72-php-xmlrpc-7.2.7-1.el7.remi.x86_64
php72-php-pecl-trader-0.5.0-1.el7.remi.x86_64
php72-php-pecl-stats-2.0.3-4.el7.remi.x86_64
php72-php-pecl-mongodb-1.5.1-1.el7.remi.x86_64
php72-php-pecl-mogilefs-0.9.3.1-5.el7.remi.x86_64
php72-php-pecl-mustache-0.7.4-1.el7.remi.x86_64
php72-php-pecl-rrd-2.0.1-4.el7.remi.x86_64
php72-php-pecl-event-2.3.0-4.el7.remi.x86_64
php72-php-pecl-uuid-1.0.4-11.el7.remi.x86_64
php72-php-json-7.2.7-1.el7.remi.x86_64
php72-php-mbstring-7.2.7-1.el7.remi.x86_64
php72-php-pecl-pcs-devel-1.3.3-3.el7.remi.x86_64
php72-php-pecl-msgpack-devel-2.0.2-4.el7.remi.x86_64
php72-php-pggi-0.3.0-1.el7.remi.x86_64
php72-php-pecl-yaml-2.0.2-1.el7.remi.x86_64
php72-php-pspell-7.2.7-1.el7.remi.x86_64
php72-php-zstd-0.4.14-1.el7.remi.x86_64
php72-php-pecl-env-0.2.1-5.el7.remi.x86_64
php72-php-componere-2.1.3-1.el7.remi.x86_64
php72-php-pecl-geoip-1.1.1-4.el7.remi.x86_64
php72-php-xml-7.2.7-1.el7.remi.x86_64
php72-php-pecl-jsond-1.4.0-1.el7.remi.x86_64
php72-php-gd-7.2.7-1.el7.remi.x86_64
php72-php-pecl-apcu-devel-5.1.12-1.el7.remi.x86_64
php72-php-odbc-7.2.7-1.el7.remi.x86_64
php72-php-pecl-gnupg-1.4.0-4.el7.remi.x86_64
php72-php-pecl-xattr-1.3.0-5.el7.remi.x86_64
php72-php-pecl-xxtea-1.0.11-5.el7.remi.x86_64
php72-php-pecl-inotify-2.0.0-6.el7.remi.x86_64
php72-php-pecl-ip2location-8.0.1-1.el7.remi.x86_64
php72-php-pecl-timecop-1.2.10-1.el7.remi.x86_64
php72-php-sodium-7.2.7-1.el7.remi.x86_64
php72-php-opcache-7.2.7-1.el7.remi.x86_64
php72-php-pecl-apcu-5.1.12-1.el7.remi.x86_64
php72-php-process-7.2.7-1.el7.remi.x86_64
php72-php-horde-horde-lz4-1.0.10-4.el7.remi.x86_64
php72-php-pecl-http-devel-3.2.0~RC1-1.el7.remi.x86_64
php72-php-pecl-memcached-3.0.4-2.el7.remi.x86_64
php72-php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.x86_64
php72-php-interbase-7.2.7-1.el7.remi.x86_64
php72-php-pecl-memcache-3.0.9-0.9.20170802.e702b5f.el7.remi.x86_64
php72-php-pecl-uv-0.2.2-2.el7.remi.x86_64
php72-php-pecl-crypto-0.3.1-2.el7.remi.x86_64
php72-php-pecl-apfd-1.0.1-9.el7.remi.x86_64
php72-php-soap-7.2.7-1.el7.remi.x86_64
php72-php-enchant-7.2.7-1.el7.remi.x86_64
php72-php-pecl-opencensus-0.2.2-1.el7.remi.x86_64
php72-php-pecl-tcpwrap-1.2.0-3.el7.remi.x86_64

7 (edited by FDL 2018-07-17 09:09:24)

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

Part 2:
php72-php-pecl-ref-0.6.0-1.el7.remi.x86_64
php72-php-pecl-protobuf-3.4.0-1.el7.remi.x86_64
php72-php-pecl-swoole-serialize-0.1.1-2.el7.remi.x86_64
php72-php-lz4-0.3.4-1.el7.remi.x86_64
php72-php-pecl-fann-1.1.1-4.el7.remi.x86_64
php72-php-bcmath-7.2.7-1.el7.remi.x86_64
php72-build-1.0-1.el7.remi.x86_64
php72-php-common-7.2.7-1.el7.remi.x86_64
php72-php-pecl-raphf-2.0.0-5.el7.remi.x86_64
php72-php-libvirt-0.5.4-1.el7.remi.x86_64
php72-php-gmp-7.2.7-1.el7.remi.x86_64
php72-zephir-0.10.10-1.el7.remi.noarch
php72-php-pecl-jsond-devel-1.4.0-1.el7.remi.x86_64
php72-php-pecl-raphf-devel-2.0.0-5.el7.remi.x86_64
php72-php-pecl-molten-0.1.2~beta-2.el7.remi.x86_64
php72-php-phalcon3-3.4.0-1.el7.remi.x86_64
php72-php-pecl-memprof-2.0.0-3.el7.remi.x86_64
php72-php-litespeed-7.2.7-1.el7.remi.x86_64
php72-php-pecl-uopz-5.0.2-1.el7.remi.x86_64
php72-php-pecl-trace-1.0.1-0.3.beta.el7.remi.x86_64
php72-php-ldap-7.2.7-1.el7.remi.x86_64
php72-php-pecl-vips-1.0.8-1.el7.remi.x86_64
php72-php-pecl-uploadprogress-1.0.3.1-15.el7.remi.x86_64
php72-php-pecl-pdflib-4.1.2-1.el7.remi.x86_64
php72-php-smbclient-0.9.0-3.el7.remi.x86_64
php72-php-pecl-hrtime-0.6.0-2.el7.remi.x86_64
php72-php-pecl-xdiff-2.0.1-3.el7.remi.x86_64
php72-php-pecl-mosquitto-0.4.0-3.el7.remi.x86_64
php72-php-pecl-hdr-histogram-0.3.0-4.el7.remi.x86_64
php72-php-pecl-grpc-1.13.0-1.el7.remi.x86_64
php72-php-pecl-parle-0.8.1-2.el7.remi.x86_64
php72-php-devel-7.2.7-1.el7.remi.x86_64
php72-php-pecl-http-3.2.0~RC1-1.el7.remi.x86_64
php72-php-channel-horde-1.0-2.el7.remi.noarch
php72-php-wkhtmltox-0.3.2-0.2.20171112.fecc9af.el7.remi.x86_64
php72-php-pecl-mailparse-3.0.2-2.el7.remi.x86_64
php72-php-pecl-apcu-bc-1.0.4-1.el7.remi.x86_64
php72-php-pecl-igbinary-devel-2.0.7-1.el7.remi.x86_64
php72-php-7.2.7-1.el7.remi.x86_64
php72-php-pecl-weakref-0.3.3-2.el7.remi.x86_64
php72-php-pecl-apm-2.1.3-2.el7.remi.x86_64
php72-php-pecl-dbase-7.0.0-0.3.beta1.el7.remi.x86_64
php72-php-pecl-ssdeep-1.1.0-1.el7.remi.x86_64
php72-php-pinba-1.1.1-1.el7.remi.x86_64
php72-php-pecl-hprose-1.6.6-2.el7.remi.x86_64
php72-php-snmp-7.2.7-1.el7.remi.x86_64
php72-php-pecl-dio-0.1.0-3.el7.remi.x86_64
php72-php-recode-7.2.7-1.el7.remi.x86_64
php72-php-imap-7.2.7-1.el7.remi.x86_64
php72-php-pecl-nsq-3.1.0-1.el7.remi.x86_64
php72-php-pecl-leveldb-0.2.1-1.el7.remi.x86_64
php72-php-pecl-yaz-1.2.2-1.el7.remi.x86_64
php72-php-tidy-7.2.7-1.el7.remi.x86_64
php72-php-pecl-vld-0.14.0-2.el7.remi.x86_64
php72-php-cli-7.2.7-1.el7.remi.x86_64
php72-php-pecl-propro-2.1.0-1.el7.remi.x86_64
php72-php-pecl-yaconf-1.0.7-1.el7.remi.x86_64
php72-php-pecl-krb5-devel-1.1.2-3.el7.remi.x86_64
php72-php-pecl-xmldiff-devel-1.1.2-11.el7.remi.x86_64
php72-php-pecl-yar-2.0.4-1.el7.remi.x86_64
php72-php-pecl-mysql-xdevapi-8.0.11-1.el7.remi.x86_64
php72-php-pgsql-7.2.7-1.el7.remi.x86_64
php72-php-pecl-oauth-2.0.2-4.el7.remi.x86_64
php72-php-pecl-stackdriver-debugger-0.2.0-1.el7.remi.x86_64
php72-php-pecl-amqp-1.9.3-2.el7.remi.x86_64
php72-php-brotli-0.5.1-1.el7.remi.x86_64
php72-php-pecl-geospatial-0.2.0-1.el7.remi.x86_64
php72-php-pecl-cmark-1.1.0-1.el7.remi.x86_64
php72-php-pecl-selinux-0.4.1-11.el7.remi.x86_64
php72-php-pecl-xlswriter-1.2.2-1.el7.remi.x86_64
php72-php-pecl-seaslog-1.8.4-1.el7.remi.x86_64
php72-php-snuffleupagus-0.2.1-1.el7.remi.x86_64
php72-php-pecl-rpminfo-0.2.1-1.el7.remi.x86_64
php72-php-fpm-7.2.7-1.el7.remi.x86_64
php72-php-pecl-scrypt-1.4.2-4.el7.remi.x86_64
php72-php-pecl-xdebug-2.6.0-1.el7.remi.x86_64
php72-php-pecl-eio-2.0.3-1.el7.remi.x86_64
php72-php-pecl-igbinary-2.0.7-1.el7.remi.x86_64
php72-php-embedded-7.2.7-1.el7.remi.x86_64
php72-php-pecl-psr-0.4.0-2.el7.remi.x86_64
php72-php-pecl-gearman-2.0.5-1.el7.remi.x86_64
php72-php-pecl-pq-2.1.4-1.el7.remi.x86_64
php72-php-pdo-dblib-7.2.7-1.el7.remi.x86_64
php72-php-dbg-7.2.7-1.el7.remi.x86_64
php72-php-ioncube-loader-10.2.2-1.el7.remi.x86_64
php72-php-pecl-radius-1.4.0-0.4.b1.el7.remi.x86_64
php72-php-pecl-lua-2.0.5-1.el7.remi.x86_64
php72-php-pecl-stomp-2.0.2-1.el7.remi.x86_64
php72-php-pecl-request-1.0.0-0.7.b2.el7.remi.x86_64
php72-php-intl-7.2.7-1.el7.remi.x86_64
php72-php-mysqlnd-7.2.7-1.el7.remi.x86_64
php72-php-pecl-propro-devel-2.1.0-1.el7.remi.x86_64
php72-1.0-1.el7.remi.x86_64
php72-php-pecl-yac-2.0.2-1.el7.remi.x86_64
php72-php-pecl-ev-1.0.4-2.el7.remi.x86_64
php72-php-pecl-solr2-2.4.0-5.el7.remi.x86_64
php72-php-pecl-zip-1.15.3-1.el7.remi.x86_64
php72-php-pecl-termbox-0.1.3-4.el7.remi.x86_64
php72-php-pecl-taint-2.0.4-1.el7.remi.x86_64
php72-php-tarantool-0.3.0-1.el7.remi.x86_64
php72-php-pecl-msgpack-2.0.2-4.el7.remi.x86_64
php72-php-zephir-parser-1.1.2-1.el7.remi.x86_64
php72-uwsgi-plugin-php-2.0.16-1.el7.remi.x86_64
php72-php-pecl-swoole-1.10.5-1.el7.remi.x86_64
php72-php-pecl-translit-0.6.2-6.el7.remi.x86_64
php72-php-pecl-mcrypt-1.0.1-4.el7.remi.x86_64
php72-php-dba-7.2.7-1.el7.remi.x86_64
php72-php-pecl-rar-4.0.0-1.el7.remi.x86_64
php72-php-pecl-bitset-3.0.1-1.el7.remi.x86_64
php72-php-pecl-gender-1.1.0-10.el7.remi.x86_64
php72-php-pecl-rdkafka-3.0.5-1.el7.remi.x86_64
php72-php-snappy-0.1.9-1.el7.remi.x86_64
php72-runtime-1.0-1.el7.remi.x86_64
php72-php-pecl-krb5-1.1.2-3.el7.remi.x86_64
php72-php-libvirt-doc-0.5.4-1.el7.remi.noarch
php72-php-pecl-redis-3.1.6-1.el7.remi.x86_64
php72-php-ast-0.1.6-1.el7.remi.x86_64
php72-php-pecl-yaf-3.0.7-1.el7.remi.x86_64
php72-php-pecl-handlebars-0.8.2-1.el7.remi.x86_64
php72-php-pecl-lzf-1.6.6-3.el7.remi.x86_64
php72-php-pecl-varnish-1.2.4-1.el7.remi.x86_64
php72-php-pecl-druid-1.0.0-1.el7.remi.x86_64
php72-php-pecl-ssh2-1.1.2-1.el7.remi.x86_64
php72-php-pdo-7.2.7-1.el7.remi.x86_64


J'ai toujours un segfault quand je lance php72 --modules ...
kernel: php72[31689]: segfault at c ip 000055e5864a1857 sp 00007ffc1e75e3f0 error 4 in php[55e5861af000+471000]

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

{   "signal": 11
,   "executable": "/opt/remi/php72/root/usr/bin/php"
,   "stacktrace":
      [ {   "crash_thread": true
        ,   "frames":
              [ {   "address": 94480947951703
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 3090519
                ,   "function_name": "zend_hash_find"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                }
              , {   "address": 140319410086892
                ,   "build_id": "dbc1528759b42d416ea287fc4bf7dfffa84af583"
                ,   "build_id_offset": 17388
                ,   "function_name": "stackdriver_debugger_ast_process"
                ,   "file_name": "/opt/remi/php72/root/usr/lib64/php/modules/stackdriver_debugger.so"
                }
              , {   "address": 94480947615758
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 2754574
                ,   "function_name": "zend_compile"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                }
              , {   "address": 94480947621110
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 2759926
                ,   "function_name": "compile_file"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                }
              , {   "address": 140319604570701
                ,   "build_id": "e52c3a705a972acdad56ebc85e0f43d090564990"
                ,   "build_id_offset": 133709
                ,   "function_name": "phar_compile_file"
                ,   "file_name": "/opt/remi/php72/root/usr/lib64/php/modules/phar.so"
                }
              , {   "address": 140319418646839
                ,   "build_id": "89d53d9abf2b2b877694e8b957adc95079c5cd61"
                ,   "build_id_offset": 12599
                ,   "function_name": "PCS_Loader_loadNode"
                ,   "file_name": "/opt/remi/php72/root/usr/lib64/php/modules/pcs.so"
                }
              , {   "address": 140319418648065
                ,   "build_id": "89d53d9abf2b2b877694e8b957adc95079c5cd61"
                ,   "build_id_offset": 13825
                ,   "function_name": "zm_activate_pcs"
                ,   "file_name": "/opt/remi/php72/root/usr/lib64/php/modules/pcs.so"
                }
              , {   "address": 94480947895856
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 3034672
                ,   "function_name": "zend_activate_modules"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                }
              , {   "address": 94480947447245
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 2586061
                ,   "function_name": "php_request_startup"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                }
              , {   "address": 94480948605699
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 3744515
                ,   "function_name": "do_cli"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                }
              , {   "address": 94480945818731
                ,   "build_id": "44281be6bbf9e7d61c7a7fcd170f13243206747b"
                ,   "build_id_offset": 957547
                ,   "function_name": "main"
                ,   "file_name": "/opt/remi/php72/root/usr/bin/php"
                } ]
        } ]
}

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

Sérieusement, tu as besoin de toutes ces extensions ?

Je te conseille de n'installer que celles dont tu as "réellement besoin"
Déjà pour l'empreinte mémoire et les perfomances.

En commençant par virer PCS

En résumé, le "yum install php72\*" est une très très mauvaise idée.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

certaines n'ont du sens lorsque configurée (seaslog, ...)
certaines ne sont utiles qu'en "dév" (xdebug, memprof, ...)
certaines changent le comportement de PHP (snuffleupagus...)
certaines SAPI n'ont pas de sens (litespeed) si tu utilise FPM
etc

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

11 (edited by FDL 2018-07-17 09:52:31)

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

mouais, je sais, mais ce n'est pas pour moi ... c'est pour nos dev ... donc du coup, je n'ai absolument aucune idée de ce qui leur fait besoin ... (et je suis sûr qu'eux non plus).
Néanmoins, l'objectif étant de pouvoir utiliser une lib "zip" pour pouvoir créer des zip protégés par mot de passe, à priori, il n'y a pas besoin effectivement de tous ces composants.
je vais abuser, sans doute, mais si tu as une liste ... à minima, je suis preneur ...
[EDIT]Pour info, je ne suis absolument pas développeur moi même ...
[EDIT2]Sinon, au pire, je transmettrait la liste des paquets disponible à notre service dev, et ils se dém... pour m'en fournir une ...

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

> mais si tu as une liste ... à minima, je suis preneur ...

SAPI: php-fpm et php-cli
Extension: dom, gd, intl, json, mbstring, mysqli, pgsql, opcache, xml, zip

C'est minimal, pour commencer, et ensuite ajouter ce dont les dév ont besoin lorsqu'ils le demandent. (ça permet déjà de faire tourner GLPI, composer, phpMyAdmin ou PHPUnit)
seuls eux peuvent savoir, sinon passer un coup de phpcompatinfo sur les sources qui fait un rapport des extensions utilisées

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

13 (edited by FDL 2018-07-17 10:08:08)

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

Ok, en tout cas, merci pour ton temps passé sur le sujet.
Bonne continuation smile
P.S. tu avais raison pour PCS, je l'ai viré, et j'ai mon php72 --modules opérationnel.

Re: PHP-FPM 7.0 + PHP-FPM 7.2 (remi)

smile

P.S. c'est toujours rigolo d'aider un "ancien" collègue wink
(j'ai passé qq années dans ta boite actuelle)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi