Brew installed php extension and did not find the specified configuration option
ringa_lee
ringa_lee 2017-06-26 10:49:12
0
1
858

Hello everyone,

I got the following error when using the php verification code:

The reason was found to be the lack of the FreeType library in gd.

View phpinfo:

The existing php has been uninstalled through brew, through:

brew install homebrew/php/php56 \
--with-freetype \
--without-snmp \
--without-apache \
--with-debug \
--with-fpm \
--with-intl \
--with-homebrew-curl \
--with-homebrew-libxslt \
--with-homebrew-openssl \
--with-imap \
--with-mysql \
--with-tidy

I want to reinstall the above content, but it prompts:

I have also updated brew, but it still doesn’t work,

Please give me some solutions and advice from the big guys!

Thank you!

ringa_lee
ringa_lee

ringa_lee

reply all(1)
ringa_lee

brew install homebrew/php/php56
brew install homebrew/php/php56-gd
Same for other extensions

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template