PHP启动的时候报错,提示liboing.so.5:cannot open shared object file:No search file or directory
详细信息如下:/www/server/php/74/sbin/php-fpm:error while loading shared libraries: liboing.so.5:cannot open shared object file:No search file or directory原因是liboing.so.5动态库不存在,安装对应的依赖即可
解决方案:
1、Redhat|CentOS系列
yum install -y onigurumaoniguruma-devel libonig5
2.、Debian/Ubuntu系列apt update
apt install -y libonig-dev libonig5 liboniguruma5