报错内容:
failed to activate:
/www/server/php/56/sbin/php-fpm:error
while loading shared libraries: libcares.so.
2: cannot open shared object file: No such
file or directory
解决方案:其他版本自己修改一下
apt install libc-ares2 -y
报错内容:
ERROR:An another FPM instance seems to already listen on /tmp/php-cgi-56.sock
解决方案:其他版本自己修改一下
rm -rf /tmp/php-cgi-56.sock
报错内容:
/www/server/php/74/sbin/php-fpm: error
while loading shared libraries: libonig.so.2:
cannot open shared object file: No such fil
e or directory
解决方案:其他版本自己修改一下
yum install libsodium-devel sqlite-devel oniguruma-devel libwebp-devel libvpx-devel -y
本文作者为QioCuIi,转载请注明。