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 oniguruma oniguruma-devel libonig5
复制代码 2.、Debian/Ubuntu系列
apt update
- apt install -y libonig-dev libonig5 liboniguruma5
复制代码 |
|