質問編集履歴
2
いろいろ
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
###Ratchet
|
1
|
+
###Websocket、Ratchetインストールエラー###
|
2
2
|
|
3
3
|
[これ](http://socketo.me/docs/push)を見て、composerでインストールしようとしたんですが、エラーが発生しました。どうすればいいですか。
|
4
4
|
|
1
質問の変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Ratchet
|
1
|
+
Websocket、Ratchetインストールエラー
|
test
CHANGED
@@ -1,35 +1,59 @@
|
|
1
1
|
###Ratchetで、特定の端末に送信。###
|
2
2
|
|
3
|
-
|
3
|
+
[これ](http://socketo.me/docs/push)を見て、composerでインストールしようとしたんですが、エラーが発生しました。どうすればいいですか。
|
4
4
|
|
5
|
+
```json
|
6
|
+
|
7
|
+
{
|
8
|
+
|
9
|
+
"autoload": {
|
10
|
+
|
11
|
+
"psr-4": {
|
12
|
+
|
13
|
+
"MyApp\": "src"
|
14
|
+
|
15
|
+
}
|
16
|
+
|
17
|
+
},
|
18
|
+
|
19
|
+
"require": {
|
20
|
+
|
5
|
-
|
21
|
+
"cboden/ratchet": "0.4.*",
|
22
|
+
|
23
|
+
"react/zmq": "0.2.*|0.3.*"
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
}
|
6
28
|
|
7
29
|
|
8
30
|
|
31
|
+
```
|
32
|
+
|
33
|
+
```error
|
34
|
+
|
35
|
+
Loading composer repositories with package information
|
36
|
+
|
37
|
+
Updating dependencies (including require-dev)
|
38
|
+
|
9
|
-
|
39
|
+
Your requirements could not be resolved to an installable set of packages.
|
10
40
|
|
11
41
|
|
12
42
|
|
13
|
-
|
43
|
+
Problem 1
|
14
44
|
|
15
|
-
|
45
|
+
- react/zmq v0.3.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
|
16
46
|
|
17
|
-
use
|
47
|
+
- react/zmq v0.2.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
|
18
48
|
|
19
|
-
use
|
49
|
+
- Installation request for react/zmq 0.2.*|0.3.* -> satisfiable by react/zmq[v0.2.0, v0.3.0].
|
20
50
|
|
21
|
-
use Ratchet\Http\HttpServer;
|
22
51
|
|
23
|
-
use Ratchet\WebSocket\WsServer;
|
24
52
|
|
25
|
-
|
53
|
+
To enable extensions, verify that they are enabled in your .ini files:
|
26
54
|
|
27
|
-
|
55
|
+
- C:\xamppxampp\php\php.ini
|
28
56
|
|
29
|
-
|
30
|
-
|
31
|
-
|
57
|
+
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
|
32
|
-
|
33
|
-
$server->run ();
|
34
58
|
|
35
59
|
```
|