搜尋
首頁後端開發PHP問題ubuntu如何安裝php-gd

ubuntu如何安裝php-gd

Jun 17, 2021 am 09:18 AM
gdubuntu

ubuntu安裝php-gd的方法:先找到想要安裝php版本的gd;然後透過「apt-get install php7.2-gd」進行安裝;最後重新啟動php即可。

ubuntu如何安裝php-gd

本文操作環境:ubuntu 16.04系統、PHP7.2版,DELL G3電腦

ubuntu如何安裝php-gd? ubuntu下php安裝gd擴充

apt-cache search php-gd 找到想要安裝php版本的gd

apt-get install php7.2-gd 安裝

php -m 安裝成功

如果需要重新啟動php

找到php運作方式是apache2還是php-fpm

systemctl restart xxx

推薦學習:《PHP影片教學

以上是ubuntu如何安裝php-gd的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱工具

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

將Eclipse與SAP NetWeaver應用伺服器整合。

Atom編輯器mac版下載

Atom編輯器mac版下載

最受歡迎的的開源編輯器

Dreamweaver Mac版

Dreamweaver Mac版

視覺化網頁開發工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

強大的PHP整合開發環境