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

Additional dependencies needed for PHP 8.2.0 #145

Open
cweagans opened this issue Dec 27, 2022 · 3 comments
Open

Additional dependencies needed for PHP 8.2.0 #145

cweagans opened this issue Dec 27, 2022 · 3 comments

Comments

@cweagans
Copy link

I tried to install PHP 8.2.0 with this plugin and in addition to the dependencies mentioned in the readme and it did not work. To get PHP to compile, I also needed to install the following:

  • gd
  • bison
  • re2c
  • libiconv
  • libzip

Might be worth adding a note to the readme.

@angristan
Copy link
Contributor

Actually, they are mentioned in the README:

macOS

To install PHP on macOS, you'll need a set of packages installed via homebrew.

There's also a set of optional packages which enable additional extensions to be enabled:

brew install gmp libsodium imagemagick

The links points to this:

brew install autoconf automake bison freetype gd gettext icu4c krb5 libedit libiconv libjpeg libpng libxml2 libzip pkg-config re2c zlib

which contains the packages you mentioned.

When you say:

the dependencies mentioned in the readme

I suppose you meant the brew install line in the README, which is indeed a bit misleading hehe 🤓

@giovannism20
Copy link

I still having this problem on PHP 8.3.1 MacOS

@costa-simulatedreality
Copy link

PHP 8.3.3 installed successfully for me after installing the auxiliary libs mentioned by @angristan 's comment. Thanks a lot!

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

4 participants