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

hzc
Release: 2023-03-01 12:12:01
Original
4336 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template