当前位置:网站首页>Call to undefined function think\captcha\imagettftext()

Call to undefined function think\captcha\imagettftext()

2022-06-13 08:18:00 Parthenocissus still works

        php install gd After the library , An error is reported when generating the verification code picture Call to undefined function think\captcha\imagettftext(), Access to information ( Reference material :http://www.shangzh.com/1094.html) Probably because gd The library is missing freetype Support , Then look for download resources :https://download.savannah.gnu.org/releases/freetype/, Download and install ( Location :/usr/local/freetype), Then reinstall gd,configure Specify additional parameters when adding --with-freetype-dir=/usr/local/freetype, Restart after installation php that will do , Verification code generation is normal .

原网站

版权声明
本文为[Parthenocissus still works]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270544564497.html