Recently I plan to learn about dwz_thinkphp, copy the source code, and find that the verification code on the login page cannot be properly displayed. Search for the apache error log, which prompts PHPFatalerror :? Calltoundefinedfunctionimagecreate () found through the PHP manual query, This is a function in the gd library. That is to say, the GD library is not installed or not
Recently I plan to learn about dwz_thinkphp, copy the source code, and find that the verification code on the login page cannot be properly displayed. Search for the apache error log, which prompts PHP Fatal error :? Call to undefined function imagecreate () found through the PHP manual query, This is a function in the gd library. That is to say, the GD library is not installed or not
Recently I plan to learn about dwz_thinkphp, copy the source code, and find that the verification code on the login page cannot be properly displayed. Search for the apache error log, which prompts PHP Fatal error :? Call to undefined function imagecreate ()
Through the PHP manual query, we found that this is a function in the gd library. In other words, if the GD library is not installed or is not correctly installed, reinstall the GD library of PHP.
Under centos
Yum search php | grep gd # php-gd.x86_64: A module for PHP applications for using the gd graphics librarysudo yum install php-gd.x86_64sudo service httpd restart
Original article address: the image of the dwz_thinkphp Verification Code cannot be displayed. Thank you for sharing it with the original author.