Topic: PHP-FPM 5.6.4-1 test1.conf

I suppose this is following on from http://forums.famillecollet.com/viewtopic.php?id=2944 a little.

Just updated 5.6.3-3.el7.remi.86_64 to the latest 5.6.4-1.el7.remi.86_64 .
Included in php-fpm is a conf file test1.conf which contains an on-demand configuration. As the user and group "test1" are not set-up on my system this causes php-fpm to fail to restart. Removing the test1.conf gets everything working again.

I cannot see the change log at http://php.net/ChangeLog-5.php yet so not sure if this file has been introduced by the official release or by this repo.

Not sure if this is due to the user/permission set-up on my system. Normally I can update php and no changes are required.

Also, I noticed that the correct port was set in the test1.conf. I run them in sequence, 9001,9002,9003, etc. Was this by design or luck?

All that is required is removing the file(or setting up the user & permission) so I wouldn't say it is a bug but wanted to mention nonetheless.

Thanks

Re: PHP-FPM 5.6.4-1 test1.conf

Are you sure this file comes with the package ?
I can't find it...

$ rpm -qlp *php*5.6.4* | grep test
/usr/lib64/php-zts/build/run-tests.php
/usr/lib64/php/build/run-tests.php

$ rpmdiff php-fpm-5.6.3-3.el7.remi.x86_64.rpm php-fpm-5.6.4-1.el7.remi.x86_64.rpm 
removed     REQUIRES config(php-fpm) = 5.6.3-3.el7.remi
removed     REQUIRES php-common(x86-64) = 5.6.3-3.el7.remi
added       REQUIRES config(php-fpm) = 5.6.4-1.el7.remi
added       REQUIRES php-common(x86-64) = 5.6.4-1.el7.remi
removed     PROVIDES config(php-fpm) = 5.6.3-3.el7.remi
removed     PROVIDES php-fpm(x86-64) = 5.6.3-3.el7.remi
added       PROVIDES config(php-fpm) = 5.6.4-1.el7.remi
added       PROVIDES php-fpm(x86-64) = 5.6.4-1.el7.remi
..........T /etc/logrotate.d/php-fpm
S.5.......T /etc/php-fpm.conf
..........T /etc/php-fpm.d
S.5.......T /etc/php-fpm.d/www.conf
..........T /etc/sysconfig/php-fpm
..........T /etc/systemd/system/php-fpm.service.d
..........T /run/php-fpm
..........T /usr/lib/systemd/system/php-fpm.service
..........T /usr/lib/tmpfiles.d/php-fpm.conf
S.5.......T /usr/sbin/php-fpm
removed     /usr/share/doc/php-fpm-5.6.3
removed     /usr/share/doc/php-fpm-5.6.3/php-fpm.conf.default
added       /usr/share/doc/php-fpm-5.6.4
added       /usr/share/doc/php-fpm-5.6.4/php-fpm.conf.default
..........T /usr/share/fpm
..........T /usr/share/fpm/status.html
removed     /usr/share/licenses/php-fpm-5.6.3
removed     /usr/share/licenses/php-fpm-5.6.3/fpm_LICENSE
added       /usr/share/licenses/php-fpm-5.6.4
added       /usr/share/licenses/php-fpm-5.6.4/fpm_LICENSE
S.5.......T /usr/share/man/man8/php-fpm.8.gz
..........T /var/lib/php/session
..........T /var/lib/php/wsdlcache
..........T /var/log/php-fpm
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 5.6.4-1 test1.conf

I hope it does, as I am only the only one with access to the server and I didn't put it there!!! smile

Normally the default conf file "www" is created/added when I update php-fpm, and then I just delete it as there is no need to waste a pool.

It appears at /etc/php-fpm.d/test1.conf

The layout of the file and the port number is exactly what I would use, so although I do not remember putting it there, I suppose it is possible, although I wouldn't have been able to restart php-fpm with it in place and I definitely did a restart yesterday.

Er, I think maybe ignore this for now, if others report then great, if not then put it down to me...

Re: PHP-FPM 5.6.4-1 test1.conf

Remi, sorry I am wasting your time, I just ran a search and found the file "test1.conf" on my system.
Very sorry to have troubled you.
Less coffee, more sleep .

Re: PHP-FPM 5.6.4-1 test1.conf

No problem, at least "early" report could have allow to fix an issue.


smile

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