Skip to content
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

PHP 8.3.1 MacOS #164

Open
giovannism20 opened this issue Dec 31, 2023 · 4 comments
Open

PHP 8.3.1 MacOS #164

giovannism20 opened this issue Dec 31, 2023 · 4 comments

Comments

@giovannism20
Copy link

I've take a look on README and was necessary to install different packages to have PHP 8.3.1 on MacOS. Maybe on install scrips we can have a list of packages to be installed on each PHP version. For me was only necessary to install libiconv re2c and bison.

@drewbitt
Copy link

drewbitt commented Feb 6, 2024

I needed [email protected] on MacOS Sonoma. #163 describes the openssl requirement.

#145 (comment) describes the ones you were mentioning, including libiconv, bison and re2c. I also needed pkg-config. I just installed those as you mentioned, and it worked fine.

@costa-simulatedreality
Copy link

@drewbitt 's suggestion also worked for me. Thanks a lot, btw!

@mayckxavier
Copy link

@drewbitt 's suggestion worked for me too, but before I was trying to install php 8.3.0.
It worked when I tried with 8.3.1

@StringKe
Copy link

try brew install argon2 aspell libunistring libidn2 libnghttp2 openldap rtmpdump curl unixodbc freetds jpeg-turbo libavif gd krb5 libpq libzip tidy-html5 re2c libiconv pkg-config

add .bashrc or .zshrc

export PATH="/opt/homebrew/opt/bison/bin:$PATH"
export PATH="/opt/homebrew/opt/curl/bin:$PATH"
export PATH="/opt/homebrew/opt/openldap/bin:$PATH"
export PATH="/opt/homebrew/opt/openldap/sbin:$PATH"
export PATH="/opt/homebrew/opt/krb5/bin:$PATH"
export PATH="/opt/homebrew/opt/krb5/sbin:$PATH"
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
export PATH="/opt/homebrew/opt/libiconv/bin:$PATH"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants