質問編集履歴
3
質問を受けての追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -129,3 +129,57 @@
|
|
129
129
|
また最後に[Run]-[debug]を行った際に出た画面はこちらです
|
130
130
|
|
131
131
|
![イメージ説明](2572d1d203b7676aea807e7570486abd.png)
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
**質問を受けての追記②**
|
136
|
+
|
137
|
+
---
|
138
|
+
|
139
|
+
php.iniにてzend_extensionをgrepかけましたが見当たりませんでしたので、zendでgrepかけてみました。
|
140
|
+
|
141
|
+
見つかった部分を記載しておきます。
|
142
|
+
|
143
|
+
```
|
144
|
+
|
145
|
+
; This setting is on by default.
|
146
|
+
|
147
|
+
;report_zend_debug = 0
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
; Default Value: 1
|
152
|
+
|
153
|
+
; Development Value: 1
|
154
|
+
|
155
|
+
; Production Value: -1
|
156
|
+
|
157
|
+
; http://php.net/zend.assertions
|
158
|
+
|
159
|
+
zend.assertions = -1
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
; Enables or disables the circular reference collector.
|
164
|
+
|
165
|
+
; http://php.net/zend.enable-gc
|
166
|
+
|
167
|
+
zend.enable_gc = On
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
; If enabled, scripts may be written in encodings that are incompatible with
|
172
|
+
|
173
|
+
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
|
174
|
+
|
175
|
+
; encodings. To use this feature, mbstring extension must be enabled.
|
176
|
+
|
177
|
+
; Default: Off
|
178
|
+
|
179
|
+
;zend.multibyte = Off
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
```
|
2
質問を受けての追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,3 +57,75 @@
|
|
57
57
|
homesteadには最初からxdebugが入っているので、これはあまり関係ない気がしますが、phpstormの設定でできない部分の理由がよく分かりません。
|
58
58
|
|
59
59
|
よろしくお願いいたします。
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
**質問を受けての追記**
|
64
|
+
|
65
|
+
---
|
66
|
+
|
67
|
+
添付していただいたURLを参考に進めていったサーバ側のコマンドです。
|
68
|
+
|
69
|
+
(PHPのバージョンが7.2.2でしたので、/etc/php/7.2/fpm/conf.d/20-xdebug.iniにしました)
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
vagrant@homestead:~/code/school$ sudo apt-get install xdebug-*
|
76
|
+
|
77
|
+
Reading package lists... Done
|
78
|
+
|
79
|
+
Building dependency tree
|
80
|
+
|
81
|
+
Reading state information... Done
|
82
|
+
|
83
|
+
Note, selecting 'php-xdebug' for regex 'xdebug-*'
|
84
|
+
|
85
|
+
Note, selecting 'php7.0-xdebug' for regex 'xdebug-*'
|
86
|
+
|
87
|
+
Note, selecting 'php5.6-xdebug' for regex 'xdebug-*'
|
88
|
+
|
89
|
+
Note, selecting 'php7.1-xdebug' for regex 'xdebug-*'
|
90
|
+
|
91
|
+
Note, selecting 'php7.2-xdebug' for regex 'xdebug-*'
|
92
|
+
|
93
|
+
Note, selecting 'php-xdebug' instead of 'php5.6-xdebug'
|
94
|
+
|
95
|
+
Note, selecting 'php-xdebug' instead of 'php7.0-xdebug'
|
96
|
+
|
97
|
+
Note, selecting 'php-xdebug' instead of 'php7.1-xdebug'
|
98
|
+
|
99
|
+
Note, selecting 'php-xdebug' instead of 'php7.2-xdebug'
|
100
|
+
|
101
|
+
php-xdebug is already the newest version (2.6.0+2.5.5-1+ubuntu16.04.1+deb.sur
|
102
|
+
|
103
|
+
0 upgraded, 0 newly installed, 0 to remove and 230 not upgraded.
|
104
|
+
|
105
|
+
vagrant@homestead:~/code/school$ php -v
|
106
|
+
|
107
|
+
PHP 7.2.2-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 1 2018 16:01:26)
|
108
|
+
|
109
|
+
Copyright (c) 1997-2018 The PHP Group
|
110
|
+
|
111
|
+
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
|
112
|
+
|
113
|
+
with Zend OPcache v7.2.2-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 19
|
114
|
+
|
115
|
+
with Zend Server Z-Ray v9.2.0, Copyright (c) 2004-2017, by Zend Technolog
|
116
|
+
|
117
|
+
with blackfire v1.18.2~linux-x64-non_zts72, https://blackfire.io, by Sens
|
118
|
+
|
119
|
+
vagrant@homestead:~/code/school$ sudo su
|
120
|
+
|
121
|
+
root@homestead:/home/vagrant/code/school# vi /etc/php/7.2/fpm/conf.d/20-xdebug.ini
|
122
|
+
|
123
|
+
root@homestead:/home/vagrant/code/school# sudo service php7.2-fpm restart
|
124
|
+
|
125
|
+
root@homestead:/home/vagrant/code/school#
|
126
|
+
|
127
|
+
```
|
128
|
+
|
129
|
+
また最後に[Run]-[debug]を行った際に出た画面はこちらです
|
130
|
+
|
131
|
+
![イメージ説明](2572d1d203b7676aea807e7570486abd.png)
|
1
題名の変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Xdebugが使用できない (
|
1
|
+
XdebugがPHPstormにて使用できない (laravel5.5 homestead環境)
|
test
CHANGED
File without changes
|