Когда я делаю composer install
на моей усадьбе, настроенной для виртуальной машины с помощью laravel (на Mac OSX Yosemite), я получаю следующую ошибку:
$ composer install
Warning: This development build of composer is over 30 days old. It is
recommended to update it by running "/usr/local/bin/composer self-update" to get the
latest version.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
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:
install [--prefer-source] [--prefer-dist] [--dry-run]
[--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader]
[--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
[--ignore-platform-reqs] [packages1] ... [packagesN]
Когда я тогда запускаю команду $ brew install php5-mcrypt
, Я получаю следующее:
$ brew install php5-mcrypt
Error: No available formula for php5-mcrypt
Searching formulae...
Searching taps...
$
Как я могу это исправить и установить php5-mcrypt?
Задача ещё не решена.
Других решений пока нет …