INSTALLED MAGENTO 2.0 IN FOLDER on UBUNTU 16.10
SAME CSS ISSUE AGAIN…
cd /var/www/html/store
sudo php bin/magento setup:static-content:deploy
PHP Fatal error: Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower(
) in /var/www/html/store/vendor/magento/framework/Event/Manager.php:56
sudo apt-get install php7.0-mbstring
/var/www/html/store# sudo apt-get install php7.0-mbstring
Reading package lists… Done
Building dependency tree
Reading state information… Done
****** php7.0-mbstring is already the newest version (7.0.15-1+deb.sury.org~yakkety+1). ******
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
ALREADY INSTALLED?
sudo service apache2 restart
php bin/magento setup:static-content:deploy
PHP Fatal error: Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower(
) in /var/www/html/store/vendor/magento/framework/Event/Manager.php:56
***************************************AGAIN
cd /etc/php/7.0/apache2
nano php.ini
EDITED
;extension=php_mbstring.dll
TO
extension=php_mbstring.dll
SAVE
EXIT
sudo service apache2 restart
cd /var/www/html/store
sudo php bin/magento setup:static-content:deploy
PHP Fatal error: Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower() in /var/www/html/store/vendor/magento/framework/Event/Manager.php:56
*********************************** AGAIN
Multibyte String
mb_strtolower — Make a string lowercase
cd /etc/php/7.1/apache2
nano php.ini
EDITED
;extension=php_mbstring.dll
TO
extension=php_mbstring.dll
SAVE
EXIT
sudo service apache2 restart
cd /var/www/html/store
sudo php bin/magento setup:static-content:deploy
Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower(
) in /var/www/html/store/vendor/magento/framework/Event/Manager.php:56
EDITED BOTH PHP.INI
Both 7.0 and 7.1 Filesize upload 256M AND Uncommented ;extension=php_mbstring.dll
Thats the only thing I've changed.
****** HELP **************************** ///
Best Answer
First check the PHP Path in command:
Following output will display:
After that try this command:
Hope this will help you.