Phpmyadmin showing mbstring is missing
The cli
and apache
or nginx
module have different config paths and, probably, different configs. Your module is enabled on cli
but disabled to web
.
You need to check your php.ini
If you try to do this (on terminal):
$ php -a
phpinfo();
In a point you can see the php.ini
path.
Do the same thing on your www
directory creating a phpinfo.php
and calling the phpinfo()
function and check the php.ini
path.
Probably is not the same path and not the same configurations because we have a ini
file to cli
and to the apache/nginx
module. So, you can fix it seeing which file is loading the modules and point to enable the module on web.
If is in different path, probably you'll need to enable or install the mbstring
module on web version.
Considering that you're using php-fpm
you can install mbstring
module with the following command:
php-fpm install mbstring
Why mbstring extension is missing?
php.ini
is a configuration file, not a script, so you cannot run code from it. When you attempt to fill it with PHP source code you break the file so PHP starts with its compiled-in defaults, which do not include mbstring.
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 30
Related Topics
MySQL Select from Tables Based on Multiple Rows
How to Do Multiple SQL Statements in One MySQL_Query
Get Repeated Matches with Preg_Match_All()
Fatal Error - 'Mongo' Class Not Found
Laravel Migration Table Already Exists, But I Want to Add New Not the Older
Convert Number to Letter with PHP
How to Solve Error 404 When Deploying Laravel Project to Cpanel
Accessing Laravel .Env Variables in Blade
Laravel Named Route for Resource Controller
MySQL and PHP - Insert Null Rather Than Empty String
PHP Composer Update "Cannot Allocate Memory" Error (Using Laravel 4)
How to Replace All Xhtml/HTML Line Breaks (<Br>) with New Lines
Get Timestamp of Today and Yesterday in PHP
Sending Push Notifications to Multiple Android Devices Using Gcm