编译安装php时,如果--enable-mbstring , 开启了mbstring扩展,需要这个正则处理库
centos
yum install http://rpms.remirepo.net/enterprise/7/remi/x86_64//oniguruma5-6.9.4-1.el7.remi.x86_64.rpm yum install http://rpms.remirepo.net/enterprise/7/remi/x86_64//oniguruma5-devel-6.9.4-1.el7.remi.x86_64.rpm
ubuntu
apt install libonig-dev