-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fix PDO pgsql for macOS with Homebrew and disable PCRE JIT for M1 #116
base: master
Are you sure you want to change the base?
Conversation
PHP does not compile on openssl@3. The "brew --prefix openssl" command does not behave as expected. If openssl@1.1 is installed then it will not output anything. If opsenssl@3 is installed then it will output a prefix for openssl@3. This commit uses explicit 1.1 version of OpenSSL. OpenSSL 3 was released to homebrew recently, so users may encounter this issue after upgrading to newest versions.
This is just what I needed to get a working build of PHP working via asdf, thanks! |
@smorimoto any chance this could be merged? |
@hlubek Could you rebase this PR to base branch? |
@smorimoto I'll rebase the change and have a look at it 👍 |
@smorimoto It should work now, I noticed that the logic for |
Any update on when we can see this merged? @smorimoto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, congratulations for the fix!
@smorimoto could you merge this, please?
libpq
path configure option for macOS for PDO pgsqlWith these fixes we were able to install PHP 7.4, 8.0 and 8.1 on macOS with Intel (older 10.15) and Apple Silicon (12.2), so it should work for a wider variety of OS versions.