nhayder
261
5
Laravel

deploying laravel app on cpanel is returning symfony/polyfill-mbstring/bootstrap.php

Posted 2 months ago by nhayder

i'm trying to deploy laravel 5.8 app on a cpanel shared account, so far im not being able to get the home page to load on the browser?

This page isn’t working demo.app.com is currently unable to handle this request.
HTTP ERROR 500

on the account log file i have these


[08-May-2019 06:00:40 UTC] PHP Warning:  require(/home/demolinx/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in /home/demolinx/vendor/composer/autoload_real.php on line 66
[08-May-2019 06:00:40 UTC] PHP Warning:  require(/home/demolinx/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in /home/demolinx/vendor/composer/autoload_real.php on line 66
[08-May-2019 06:00:40 UTC] PHP Fatal error:  require(): Failed opening required '/home/demolinx/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/opt/cpanel/ea-php71/root/usr/share/pear') in /home/demolinx/vendor/composer/autoload_real.php on line 66
[08-May-2019 06:15:24 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mbstring.dll' (tried: /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[08-May-2019 06:15:24 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mbstring.dll' (tried: /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[08-May-2019 06:15:33 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mbstring.dll' (tried: /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[08-May-2019 06:15:33 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mbstring.dll' (tried: /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so (/opt/cpanel/ea-php72/root/usr/lib64/php/modules/php_mbstring.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

according to my research that error is because of missing extension on the account,

i made sure that all required php extensions are available on the account

// these are all available on the account
PHP >= 7.1.3
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension
BCMath PHP Extension

any ideas on how to fix this issue ???

Please sign in or create an account to participate in this conversation.