Home >Backend Development >PHP Problem >How to solve the problem that phpStudy's PHP website pictures cannot be displayed
Solution to the problem that phpStudy’s PHP website pictures cannot be displayed:
Generating pictures in php requires the use of a GD library. By default Under normal circumstances, phpStudy is turned on, but after phpStudy2013, the GD library is installed by default like PHP and no longer turns on this function. Users need to configure it.
phpStudy2013 GD support is not turned on Solution
phpStudyAdmin Console - Configuration File - php.ini
Look for "extension =php_gd2.dll", remove the ";" in front of "extension=php_gd2.dll", save
phpStudyAdmin Console-Apache Service-Restart
If PHP cannot generate images in your phpStudy2013 version, try the above method.
Recommended tutorial: "php tutorial"
The above is the detailed content of How to solve the problem that phpStudy's PHP website pictures cannot be displayed. For more information, please follow other related articles on the PHP Chinese website!