Home > Article > Backend Development > How to solve the problem that the php website does not display the verification code image
Solution to the php website not displaying the verification code image: 1. Open the php.ini configuration file; 2. Cancel the semicolon in front of [extension=php_gd2.dll] and save the configuration; 3. Restart the IIS server Or apache server.
Solution:
(Video tutorial recommendation: java video tutorial)
Find first And open the php.ini configuration file;
Then check whether there is a ; sign in front of extension=php_gd2.dll. If there is, remove it and save the configuration.
Supplement:
If php.ini is in the system directory, it will only take effect after saving and restarting the computer. If it is directly specified in the system variable , restart the IIS server or restart the apache server to take effect.
Related recommendations: php training
The above is the detailed content of How to solve the problem that the php website does not display the verification code image. For more information, please follow other related articles on the PHP Chinese website!