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:
- How to Solve PHP Fatal error: Namespace declaration statement has to be the very first statement
- [PHP] Solve PHP Call to undefined function ldap_connect()
- PHP error in Windows: class’ mysqli ‘not found
- Mac PHP Fatal error: Class ‘Memcache’ not found
- How to Hide index.php
- PHP: How to parse MHT file into HTML
- [Solved] PHP -v Error: error while loading shared libraries: libonig.so.5:cannot open share directory
- php_network_getaddresses: getaddrinfo failed (How to Fix)
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- [PHP] Solve the limitation of uploading files in nginx php 413 Request Entity Too Large
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- [Solved] PHP Fatal error: Uncaught Elasticsearch\Common\Exceptions\NoNodesAvailableException: No alive nodes
- PHP: How to get the total number of data in the MySQL table (total number of rows)
- How to Solve phpExcel Error: ERR_INVALID_RESPONSE
- How to solve Magento 500 internal server errors
- composer Error: The requested PHP extension ext-bcmath * is missing from your system. Install or enable
- /www/server/php/56/sbin/php-fpm:error while loading shared libraries:libssl.so.1.0. 0:cannot open shared object file:No such file or directory
- How to Solve opcache error: zend_mm_heap corrupted
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution