How to install php-gd on ubuntu

藏色散人
Release: 2023-03-10 16:40:02
Original
2891 people have browsed it

How to install php-gd on ubuntu: first find the gd version you want to install php; then install it through "apt-get install php7.2-gd"; finally restart php.

How to install php-gd on ubuntu

The operating environment of this article: ubuntu 16.04 system, PHP7.2 version, DELL G3 computer

How to install php-gd on ubuntu? Install gd extension in php under ubuntu

apt-cache search php-gd Find the gd version you want to install php

apt-get install php7.2-gd installation

php -m installation successful

If you need to restart php

Find out whether the php running mode is apache2 or php-fpm

systemctl restart xxx

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to install php-gd on ubuntu. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!