简体   繁体   English

如何在Windows 7 XAMPP中安装ZendFramework 2?

[英]How to install ZendFramework 2 in windows 7 XAMPP?

There are many documentation about how to install Zend Framework 2. But they are hard to understand. 关于如何安装Zend Framework 2,有许多文档。但是它们很难理解。 I've tried lot of guidance in the web. 我在网络上尝试了很多指导。 But still I couldn't install ZF2. 但是我仍然无法安装ZF2。

This might be a duplicate question. 这可能是一个重复的问题。 But I went through most of them and ended up with no success. 但是我经历了其中的大多数,但最终都没有成功。

Can any one please give me the simple step by step installation guidance? 谁能给我简单的分步安装指南?

I'm using XAMPP on windows 7 我在Windows 7上使用XAMPP

Thanks a lot 非常感谢

EDIT: I'm getting this error 编辑:我收到此错误 在此处输入图片说明

once you download skeleton application from Github you have run following command from command prompt Github下载骨架应用程序后,您已经在命令提示符下运行了以下命令

 cd ZendSkeletonApplication
 php composer.phar self-update
 php composer.phar install

make sure you have php version greater than 5.3.3 确保您的PHP版本大于5.3.3

php command not run directly in command prompt if path variable is not set 如果未设置path变量,则php命令不会直接在命令提示符下运行

to check path variable set or not type php -v if command not recognized than please set environmental variable. 如果无法识别命令,则检查设置的路径变量或不输入php -v ,请设置环境变量。

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

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