我試圖在我的Mac Mini中安裝Laravel,並且出現錯誤。Laravel在Mac Mini中的安裝錯誤
錯誤:
Writing lock file
Generating autoload files
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output:
create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [package] [directory] [version]
一個月前我已經安裝Laravel 4.2,並運行良好。但是現在當我安裝新的Larvel 4.2時,它給出了上面給出的錯誤。
我使用內置的PHP,MySQL和phpMyAdmin的。(不是MAMP或XAMP)
我已經安裝了mcrypt擴展。
這已經在這裏解決了: http://stackoverflow.com/questions/16830405/laravel-requires-the-mcrypt-php-extension – NickOS