简体   繁体   English

Laravel Composer安装错误

[英]laravel installation error with composer

I have faced the following problem during the installation of laravel php framework. 我在安装laravel php框架期间遇到了以下问题。 following errors appeared when I run the command composer global require "laravel/ installer" . 当我运行命令composer global require "laravel/ installer"时出现以下错误。

NB: I already have installed xampp, composer and add these to environment variable. 注意:我已经安装了xampp,composer,并将它们添加到环境变量中。 the following picture will clear the problem. 下图将解决问题。 enter image description here 在此处输入图片说明

I have used php version 5.6 and tried to install laravel having this version. 我使用过php版本5.6,并尝试安装具有该版本的laravel。 Later I have uninstalled xampp and install the latest version of xampp and things are working now 后来我卸载了xampp并安装了最新版本的xampp,现在一切正常

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM