다른 질문과 중복되어 죄송합니다. 나는 내 문제를 해결할 수 없다.귀하의 요구 사항을 설치할 수있는 패키지 세트로 해결할 수 없습니다.
저는 Ratchet
을 기반으로 한 프로젝트를 진행하고 있습니다. Push Integration
예제를 실행하려고합니다. 따라서, 실행하기 위해서, 나는 의존성을 얻기 위해 작곡가를 사용해야합니다. 나는 그것에 작곡가를 실행하면 에러가 발생했을 이하,
{
"autoload": {
"psr-0": {
"MyApp": "src"
}
},
"require": {
"cboden/ratchet": "0.3.*",
"react/zmq": "0.2.*|0.3.*"
}
}
:
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- react/zmq v0.3.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
- react/zmq v0.2.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
- Installation request for react/zmq 0.2.*|0.3.* -> satisfiable by react/zmq[v0.2.0, v0.3.0].
당신이 Ratchet
및 ZMQ
의 composer.json 찾을 수 아래 :
ZMQ :
{
"name": "react/zmq",
"description": "ZeroMQ bindings for React.",
"keywords": ["zmq", "zeromq"],
"license": "MIT",
"require": {
"php": ">=5.4.0",
"ext-zmq": "*",
"evenement/evenement": "~2.0",
"react/event-loop": "0.4.*"
},
"require-dev": {
"ext-pcntl": "*"
},
"autoload": {
"psr-0": { "React\\ZMQ": "src" }
},
"extra": {
"branch-alias": {
"dev-master": "0.4-dev"
}
}
}
래칫 :
{
"name": "cboden/ratchet"
, "type": "library"
, "description": "PHP WebSocket library"
, "keywords": ["WebSockets", "Server", "Ratchet", "Sockets"]
, "homepage": "http://socketo.me"
, "license": "MIT"
, "authors": [
{
"name": "Chris Boden"
, "email": "[email protected]"
, "role": "Developer"
}
]
, "support": {
"forum": "https://groups.google.com/forum/#!forum/ratchet-php"
, "issues": "https://github.com/ratchetphp/Ratchet/issues"
, "irc": "irc://irc.freenode.org/reactphp"
}
, "autoload": {
"psr-0": {
"Ratchet": "src"
}
}
, "require": {
"php": ">=5.3.9"
, "react/socket": "0.3.*|0.4.*"
, "guzzle/http": "~3.6"
, "symfony/http-foundation": "~2.2"
, "symfony/routing": "~2.2"
}
}
무엇이 잘못 되었나요? 제발 해결책을주세요. 사전에 감사합니다 :)
당신은 신들 가운데 신입니다! 그게 도대체 뭐가 잘못 됐는지 알아 내려고 30 분 만에 내가 필요한 전부 였어. 고맙습니다. – cmw2379
즐거움 & 행복하게 들으세요 :) –
예! 마침내 그것은 모두 작동합니다. 여분의 팁 주셔서 감사합니다! –