Article reprint to Mac next call to undefined function Imagettftext () Ultimate Solution
Installed a set of Onethink program preparation debugging, the results found in the login page verification code can not be displayed, separate access code page error call to undefined function imagettftext ().
Using the search engine query, the key to discovering the problem is
GD does not have FreeType installed, access to phpinfo.php file discovery
?
Solution Solutions
Cons: But Phpinfo has an implant ad, huh?
?
http://php-osx.liip.ch
Curl-s http://php-osx.liip.ch/install.sh | Bash-s 5.5
Curl-s http://php-osx.liip.ch/install.sh | Bash-s 5.6
Curl-s http://php-osx.liip.ch/install.sh | Bash-s 7.0
You can use the Phpinfo function to view the PHP version number of this machine and choose to replace it later
Terminal execution may be slow, no need to open a VPN directly to use their own broadband can be updated, I use the mobile broadband ha
FreeType Installation Success
?
System Information
From:blog.sina.com.cn/s/blog_1380a6f6b0102w1pd.html
Mac call to undefined function imagettftext () solution