php学习–laravel踩坑
安装composer,
创建laravel,一直报错
composer create-project laravel/laravel --prefer-dist
搜了好久,找到一个解决方案
composer create-project laravel/laravel --prefer-dist --ignore-platform-reqs
参数说明
–ignore-platform-reqs: ignore all platform requirements (php, hhvm, lib-* and ext-*) and force the installation even if the local machine does not fulfill these. See also the platform config option
忽略所有平台要求(php,hhvm,lib- *和ext- *)并强制安装,即使本地计算机不满足这些要求