安装Phalcon 3.4.3并获得4.0 Alpha

问题描述 投票:0回答:1

如果运行通常的下载,然后运行安装,我得到的报告'4.0.0-alpha.3'作为版本。

我如何获得3.4.3版本?我正在更新生产服务器,因此alpha版本是非启动器。

我执行的命令:

git clone --depth=1 "git://github.com/phalcon/cphalcon.git"
cd cphalcon/build
sudo ./install

以下是phpinfo显示的内容:

phalcon
Web framework delivered as a C-extension for PHP
phalcon => enabled
Author => Phalcon Team and contributors
Version => 4.0.0-alpha.3
Build Date => May  1 2019 16:04:36
Powered by Zephir => Version 0.11.11-b661a58
php phalcon
1个回答
2
投票

您需要构建3.4.3分支而不是主分支,当前版本为4.0.x.您可以下载3.4.3的代码,或者,如果您想继续使用git,可以在克隆repo后签出3.4.x分支。 3.4.x分支目前的版本为3.4.3。

git clone https://github.com/phalcon/cphalcon
cd cphalcon/build
git checkout origin/3.4.x
sudo ./install
© www.soinside.com 2019 - 2024. All rights reserved.