How to Solve PHP Error: no package’oniguruma’ found

When compiling and installing php, if –enable-mbstring, the mbstring extension is enabled, this regular processing library is required

 

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

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *