When accessing the project under mac, the verification code cannot be displayed, and an error is reported:
Because freetype is not installed in gd, access to phpinfo() can return to find that there is no such module
Then everyone gave a more ultimate solution to solve it through a one-line command:
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1
The following 7.1 is your own version number, according to your own situation.
Official website address: https://php-osx.liip.ch/
I have found the reason for the inconsistency of php and php-fpm versions for a long time
Pay attention to the consistency of the php version! ! !
reference: