Home >Backend Development >PHP Problem >How to solve the problem that phpStudy's PHP website pictures cannot be displayed

How to solve the problem that phpStudy's PHP website pictures cannot be displayed

hzc
hzcOriginal
2020-06-05 13:55:244372browse

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!

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