-
Notifications
You must be signed in to change notification settings - Fork 209
PCRE issue when installing mongodb #1405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I haven't had time to dig into this, but I've been compiling the extension with |
I have no idea honestly. Part of the issue I guess is I'm not sure how to diagnose this. For more context the way I currently installed PHP was:
In case you are not familiar with phpbrew, the "special" line here is Without it, I always had to disable the JIT (passing |
Ok installing PHP again with |
Bug Report
I've trying to install the mongodb extension with https://github.com/phpbrew/phpbrew:
But it currently fails with:
I find the error curious because my PHP binary does work correctly and the
pcre
extension is listed inphp -m
.Note that the PHP binary was compiled with
'--with-external-pcre=/opt/homebrew/opt/pcre2'
. Maybe it's not the best way neither I'm not sure...So currently I do not know if the issue is with the way PCRE is compiled with the PHP binary and does not work for PHP alone or if the way the mongodb extensions tries to detect PCRE fails.
Environment
OSX 11.6 M1
PHP 8.1.17
The text was updated successfully, but these errors were encountered: