-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Homebrew has disabled openssl@1.1 #181
Comments
The flag
… works for me without |
Yeah but if you set
I don't think most users would want to manage and maintain all those options themselves. I would prefer if this plugin either changed |
Absolutely! My response should be viewed as a band-aid for folks who just want to install PHP and move on with their lives, nothing more. |
https://github.com/asdf-community/asdf-php/blob/master/bin/install#L31 |
Yeah that's the issue. I think the best and easiest solution is to allow overriding the openssl version with an environment variable, or simply merging #154 so we can append the configure options. |
Hi! I am using PHP 8.0 and now openssl was updated to 3.4 In terminal, when i type If I dump openssl version in my project, I Please, can you tell me, if I can run openssl@1.1 under homebrew PHP 8.0 and how? |
@MikKuba you can edit the install script in |
@mortenscheel I'm sorry, when I run Next, I run Do you have any other hints for me? Or do you need more information? Let me know. |
Recently I reseted my Macbook (formatted it) and did install PHP with asdf, I did install Brew and it's requirements and I still received this error: Warning: fopen(): Unable to find the wrapper "https" Then after reading this post and concatenating some answers I've used this line to install PHP normally. export PHP_CONFIGURE_OPTIONS="--with-gmp=/opt/homebrew/opt/gmp --with-sodium=/opt/homebrew/opt/libsodium --with-freetype-dir=/opt/homebrew/opt/freetype --with-gettext=/opt/homebrew/opt/gettext --with-icu-dir=/opt/homebrew/opt/icu4c@76 --with-webp-dir=/opt/homebrew/opt/webp --with-png-dir=/opt/homebrew/opt/libpng --with-zlib-dir=/opt/homebrew/opt/zlib --with-libzip=/opt/homebrew/opt/libzip --with-readline=/opt/homebrew/opt/readline --with-iconv=/opt/homebrew/opt/libiconv --with-openssl=$(brew --prefix openssl)"
asdf install php <php.version.here> |
@brunofunnie thank you!! That worked. I am on an older intel mac, so it looks a little different. brew install gmp libsodium imagemagick argon2 aspell libunistring libidn2 libnghttp2 openldap rtmpdump curl unixodbc freetds jpeg-turbo libavif gd krb5 libpq libzip tidy-html5 re2c libiconv pkg-config oniguruma libgd
export PATH="/usr/local/opt/bison/bin:$PATH"
export PATH="/usr/local/opt/curl/bin:$PATH"
export PATH="/usr/local/opt/openldap/bin:$PATH"
export PATH="/usr/local/opt/openldap/sbin:$PATH"
export PATH="/usr/local/opt/krb5/bin:$PATH"
export PATH="/usr/local/opt/krb5/sbin:$PATH"
export PATH="/usr/local/opt/libpq/bin:$PATH"
export PATH="/usr/local/opt/libiconv/bin:$PATH"
export PHP_CONFIGURE_OPTIONS="--with-gmp=/usr/local/opt/gmp --with-sodium=/usr/local/opt/libsodium --with-freetype-dir=/usr/local/opt/freetype --with-gettext=/usr/local/opt/gettext --with-icu-dir=/usr/local/opt/icu4c@76 --with-webp-dir=/usr/local/opt/webp --with-png-dir=/usr/local/opt/libpng --with-zlib-dir=/usr/local/opt/zlib --with-libzip=/usr/local/opt/libzip --with-readline=/usr/local/opt/readline --with-iconv=/usr/local/opt/libiconv --with-openssl=$(brew --prefix openssl)"
asdf install php 8.4.2 I had to do a fresh install on the machine, so I couldn't use the old version of openssl@1.1 |
How does one install php without it?
The text was updated successfully, but these errors were encountered: