Topic: nginx-unit php module reports 7.3.24 but actually is 7.3.25

Hi, a bit of a minor issue, and not sure even where the problem originates, but I noticed:
I'm using the remi repositories and when I install nginx unit (rhel/yum based system) with PHP 7.3, and I launch it, it says:


2021/01/05 18:33:49 [info] 1#1 unit started
2021/01/05 18:33:49 [info] 31#31 discovery started
2021/01/05 18:33:49 [notice] 31#31 module: php 7.3.24 "/usr/lib64/unit/modules/php.unit.so"

but when I make a test request to it and output phpinfo(); in the index.php file, It reports PHP 7.3.25 is actually running. Apologies if this doesn't belong here. This is with nginx-unit 1.21.0, here's the version output:

bash-4.2# unitd --version
unit version: 1.21.0
configured as ./configure --libdir=/usr/lib64 --prefix=/usr --state=/var/lib/unit --control=unix:/run/unit/control.sock --pid=/run/unit/unit.pid --log=/var/log/unit/unit.log \
--tmp=/var/tmp --openssl --cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic' --tests --modules=/usr/lib64/unit/modules

(backslashes added by me)

Re: nginx-unit php module reports 7.3.24 but actually is 7.3.25

This is ecpected

version in log is the one from buildtime
while phpinfo report the one from runtime

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: nginx-unit php module reports 7.3.24 but actually is 7.3.25

Thank you, we can close this smile