The GD library is not supported. what should I do? Php5.2.5 is installed locally, and the GD Library is installed and enabled. However, the test script is displayed as follows: GD support is no... The background verification code cannot be displayed... ------ Solution ------------------ check whether the php. ini location is correct ------ solution ------------------ what system. Window is found in php. ini; exte GD library is not supported. what should I do?
Php5.2.5 is installed locally, and the GD Library is installed and enabled. However, the test script is displayed as follows: GD support is no... The background verification code cannot be displayed...
------ Solution --------------------
Check whether the php. ini location is correct
------ Solution --------------------
System. Window is found in php. ini
; Extension = php_gd2.dll
Remove the semicolon. Restart apache
------ Solution --------------------
1. in phpinfo (), check whether the path of the Loaded Configuration File is your modified php. ini.
2. check whether ";" is removed before extension = php_gd2.dll in php. ini.
3. restart IIS and check again whether GD Support is enabled in phpinfo.
------ Solution --------------------
Solution:
Set the system variable PHPRC to the path where php. ini is located.
The details are as follows:
PHP directory is D:/host, and php. ini is also located in this directory. The operation is as follows: My computer-right-click-property-advanced-environment variable-system variable-new-> variable name: PHPRC variable value: D: \ host-> restart the server, OK!