2014-12-29 36 views
0

我想在https://github.com/phalcon/incubator安裝爾康1.3.4孵化

{ 
"require": { 
    "phalcon/incubator": "v1.2.5" 
} 

在composer.json安裝爾康1.3.4按文件的孵化器。 我已經安裝了phalcon 1.3.4。但是,當我嘗試更新的作曲家,我得到以下錯誤:

加載作曲家倉庫與包裹信息 更新依賴(包括要求-DEV) 你的要求不能被解析到一個安裝包集合。

問題1 - phalcon/incubator v1.2.5的安裝請求 - >可通過phalcon/incubator [v1.2.5]滿足。 - phalcon/incubator v1.2.5需要ext-phalcon 1.2.5 - >請求的PHP擴展phalcon安裝了錯誤的版本(1.3.4)。

如何安裝1.3.4版本?

回答

1

如果你不需要一個特定的版本,你可以去最新的。這對我來說很好。

{ 
    "require": { 
     "phalcon/incubator" : "*" 
    } 
} 
0

我認爲您可以使用Phalcon 1.x版本的「v1.2.5」 - >「v1.3.5」。
最新版本的培養箱適用於Phalcon 2.x.

If you are still using Phalcon 1.3.x, create a composer.json with the following instead:

{ 
    "require": { 
     "phalcon/incubator": "v1.3.5" 
    } 
} 
0

可以代替你使用的是一個地方的指定版本。 或者你可以放*來使用新版本。

然後只需運行'作曲家安裝'