Skip to content

Instantly share code, notes, and snippets.

@orangepick
Created May 4, 2013 23:06
Show Gist options
  • Save orangepick/5519085 to your computer and use it in GitHub Desktop.
Save orangepick/5519085 to your computer and use it in GitHub Desktop.
error during migrate
Ken:l4bs ken$ php artisan migrate
PHP Fatal error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/local/Cellar/apache24/2.4.4/htdocs/l4bs/vendor/symfony/console/Symfony/Component/Console/Application.php on line 742
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Call to undefined function Symfony\\Component\\Console\\mb_detect_encoding()","file":"\/usr\/local\/Cellar\/apache24\/2.4.4\/htdocs\/l4bs\/vendor\/symfony\/console\/Symfony\/Component\/Console\/Application.php","line":742}}Ken:l4b
@sajidzaman
Copy link

Please enable or install php mb string module:

Fedora: yum install php-mbstring

For others please check their documentations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment