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!
brew install homebrew/php/php56
brew install homebrew/php/php56-gd
Same for other extensions