However, at that page, the latest driver for PHP DOES NOT WORK if you are using Firebird 4.
It shows the following problems:
[Fri Oct 29 15:51:42.587324 2021] [php7:warn] [pid 7302] [client ::1:37456] PHP Warning: ibase_fetch_row(): Incorrect values within SQLDA structure in /mnt/c/Users/frafo/OneDrive/ador 2/des/erp4/glfb/glfb.php on line 99, referer:
http://localhost/erp4/glfb/[Fri Oct 29 16:17:20.456526 2021] [php7:warn] [pid 7321] [client ::1:37472] PHP Warning: ibase_fetch_row(): Incorrect values within SQLDA structure in /mnt/c/Users/frafo/OneDrive/ador 2/des/erp4/glfb/glfb.php on line 99, referer:
http://localhost/erp4/glfb/
And some other times that same problem even restarts Apache2 completely:
[Fri Oct 29 15:42:50.025495 2021] [php7:warn] [pid 7124] [client ::1:37438] PHP Warning: ibase_fetch_row(): Incorrect values within SQLDA structure in /mnt/c/Users/frafo/OneDrive/ador 2/des/erp4/glfb/glfb.php on line 99, referer:
http://localhost/erp4/glfb/[Fri Oct 29 15:42:50.445957 2021] [core:notice] [pid 7120] AH00052: child pid 7124 exit signal Segmentation fault (11)
So, Firebird 4 is UNUSABLE to connect to a PHP app that has lots of scripts.
It failes where AGGREGATE FUNCTIONS should return sum() or avg(), but NOT count().
I have reported the problem. It was marked as a BUG. The bug is present under Window 10 (the dll) and under Ubuntu 20.04 under WSL 2.
No new PHP drivers are available, yet.