0
我試圖安裝WyriHaximus'Ratchet-Plugin for CakePHP以使用WebSockets。我加入蛋糕composer.json以下行:構成wyrihaximus /棘輪(CakePHP插件)的錯誤
"require": {
"php": ">=5.2.8",
"ext-mcrypt": "*",
"react/socket": "0.3.*|0.4.*",
"wyrihaximus/ratchet": "dev-master"
},
"config": {
"vendor-dir": "/app/Vendor/"
},
當我運行「作曲家更新」,在CLI它,雖然我運行PHP 5.5將引發以下錯誤:
Problem 1
- Installation request for wyrihaximus/ratchet dev-master -> satisfiable by wyrihaximus/ratchet[dev-master].
- wyrihaximus/ratchet dev-master requires php >=5.4.0 -> no matching package found.
是什麼原因以及如何解決這個問題?
如果你的確在運行php 5.5,我懷疑作曲家會抱怨「需要php> = 5.4.0 - >找不到匹配的軟件包」。 – ADmad 2014-10-16 19:59:30