寶塔面板安裝PHP7.2遇到的問題

小知識 · 03-19 · 180 人浏览
寶塔面板安裝PHP7.2遇到的問題

我的寶塔面板因爲業務需要需要安裝兩個PHP版本:PHP7.2和PHP7.4,儅PHP7.4安裝完成后,PHP7.2卻安裝失敗:/www/server/php/72/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory.

後來運行以下命令后重新安裝就好了:

apt install -y libc-ares2

2024-03-19T09:20:32.png

本站立足于美利堅合衆國,請讀者自覺遵守當地法律!如有違規,本站不承擔任何法律責任! This site is based in the United States of America, readers are requested to abide by local laws! If there are any violations, this site does not bear any legal responsibility! Theme Jasmine by Kent Liao