如何安装zend framework 2.4.11骨架应用程序

Hir*_*rma 5 php zend-framework2

我正在尝试使用https://framework.zend.com/manual/2.4/en/ref/installation.html安装ZF 2.4.11,但在完成安装后,主页显示ZF版本3.0.2 DEV.

如何正确安装所需版本的Zend Skeleton Application(2.4.11).

我在用php 5.6.

tas*_*ski 10

执行以下内容:

$ git clone https://github.com/zendframework/ZendSkeletonApplication.git zf2
$ cd zf2
$ git checkout origin/release-2.4 
Run Code Online (Sandbox Code Playgroud)

你会收到一条消息:

HEAD现在在ff7b0e4 ... Pin到2.4.11系列

之后运行:

$ composer install
Run Code Online (Sandbox Code Playgroud)

你将安装ZF 2.4.11.

将来你会得到最新版本.