I migrated a Laravel 5 webapp from one server to new server. This webapp is working with nginx and php-fpm. I installed php by downloading php tar file and compiling.
When I do curl http://127.0.0.1:80 I have the following error:
Fatal error: Call to undefined function Illuminate\Foundation\Bootstrap\mb_internal_encoding() in /var/www/php/dashboard/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 43
I know that I get files related to mbstring on path /opt/php-5.6.30/ext/mbstring
I enabled zend.multibyte = On
and extension=php_mbstring.dll
on php.ini
localted on /usr/local/php/php.ini
. I rebooted and executed php-fpm
but I'm without success.
Nginx version 1.12.2, PHP version 5.6.36. Redhat 7.6.
I can't install by yum install php-mbstring
. Configure Command ./configure --enable-fpm --with-mysql
on php.ini
.
How can I enable mbstring?