Home  >  Article  >  Backend Development  >  How to solve the problem that the php website does not display the verification code image

How to solve the problem that the php website does not display the verification code image

王林
王林Original
2020-11-09 14:13:482907browse

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.

How to solve the problem that the php website does not display the verification code image

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.

How to solve the problem that the php website does not display the verification code image

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more