ubuntu linxu上php composer.phra 安装laravel出错

compser.phra安装laravel出错
composer create-project laravel/laravel laravelCreate

出错信息:composer Script php artisan clear-compiled handling the post-install-cmd event returned with an error

本人机器环境ubuntu linxu 14.04 LTS
解决
sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt

检查:php --ri mcrypt

参考:http://stackoverflow.com/questions/19775012/my-composer-wont-update-completely-with-laravel-4-it-gets-stuck-with-artisan

你可能感兴趣的:(PHP,ubuntu,laravel,compose.phra)