While trying to install what's missing sudo apt-get install phpmyadmin php-mbstring php-gettext
, it says it's already installed
AndIalsoactivatedtheextension=php_mbstring.dll
extension,whatcouldbemyproblem?
Extensions:
The extension=php_mbstring.dll
would be windows on Ubuntu the correct would be:
extension=mbstring.so
Without the php_
prefix and the .so
extension, note that using sudo apt-get install php-mbstring
will only work for the PHP version you are using at the command line, if you have more than one PHP version, type php5 and php7 will have to switch first.
To install for PHP 7.0 you can try this command:
sudo apt-get install php7.0-mbstring
PHP 7.1:
sudo apt-get install php7.1-mbstring
In the latest Ubuntu I believe that even in PHP5 you must specify the version (or when using multiple versions):
sudo apt-get install php5.3-mbstring
sudo apt-get install php5.4-mbstring
sudo apt-get install php5.5-mbstring
sudo apt-get install php5.6-mbstring
After installing and editing php.ini you should restart Apache:
sudo service apache2 restart
I was able to solve the problem by running the command apt-get remove --purge php7.0-*
and then apt-get install php7.0 php7.0-fpm php7.0-mbstring
.