寶塔面板nginx無法啟動了,出現(xiàn)報錯:nginx: error while loading shared libraries:,libgd.so.2: cannot open shared object file:,No such file or directory的解決方法。

SSH遠程到服務器內(nèi)執(zhí)行下面命令,安裝gd;
centos系統(tǒng) gd安裝方法:
yum -y install gd gd-devel
ubuntu系統(tǒng) gd安裝方法:
apt-get install gd gd-dev
然后卸載nginx,卸載成功后重新安裝nginx(卸載nginx重新安裝不影響數(shù)據(jù)和之前的配置信息)

掃碼贊賞,鼓勵支持
相關問題
Centos 7.x 下做端口映射/端口轉發(fā)Windows server 2008/2012/2016/2019 服務器桌面不顯示我的電腦(計算機)的解決方案No input file specified的解決方法網(wǎng)站如何添加工信部網(wǎng)站備案號和鏈接代碼騰訊云對象存儲內(nèi)網(wǎng)與外網(wǎng)地址訪問Windows遠程桌面多個用戶如何同時使用Chrome谷歌瀏覽器?