-
Notifications
You must be signed in to change notification settings - Fork 209
Description
I couldn't find any explicit information about the possible compatibility of this driver with PHP 8.5, but in theory the composer declaration allows it.
So I tried to run Docker image 8.5.0beta1-alpine with mongodb 2.1.1, but it fails. The following is a past of the last part of the output (the full output being very very lenghty):
In file included from /tmp/pear/temp/mongodb/src/phongo_bson.c:24:
/tmp/pear/temp/mongodb/src/contrib/php_array_api.h: In function 'php_array_zval_to_string':
/tmp/pear/temp/mongodb/src/contrib/php_array_api.h:353:36: error: implicit declaration of function 'IS_INTERNED'; did you mean 'IS_STR_INTERNED'? [-Wimplicit-function-declaration]
353 | *pfree = ! IS_INTERNED(Z_STR(c));
| ^~~~~~~~~~~
| IS_STR_INTERNED
make: *** [Makefile:1068: src/phongo_bson.lo] Error 1
The following Dockerfile can be used to reproduce the problem: https://github.com/dustin10/VichUploaderBundle/blob/master/docker/Dockerfile85
The file uses 8.5.0beta1-alpine, but trying with the latest available version (8.5.0beta3-alpine) leads to the same error.