Additional dependencies needed for PHP 8.2.0
cweagans opened this issue · 3 comments
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.
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 🤓
I still having this problem on PHP 8.3.1 MacOS
PHP 8.3.3 installed successfully for me after installing the auxiliary libs mentioned by @angristan 's comment. Thanks a lot!