質問編集履歴
3
質問を受けての追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -63,4 +63,31 @@
|
|
63
63
|
root@homestead:/home/vagrant/code/school#
|
64
64
|
```
|
65
65
|
また最後に[Run]-[debug]を行った際に出た画面はこちらです
|
66
|
-

|
66
|
+

|
67
|
+
|
68
|
+
**質問を受けての追記②**
|
69
|
+
---
|
70
|
+
php.iniにてzend_extensionをgrepかけましたが見当たりませんでしたので、zendでgrepかけてみました。
|
71
|
+
見つかった部分を記載しておきます。
|
72
|
+
```
|
73
|
+
; This setting is on by default.
|
74
|
+
;report_zend_debug = 0
|
75
|
+
|
76
|
+
; Default Value: 1
|
77
|
+
; Development Value: 1
|
78
|
+
; Production Value: -1
|
79
|
+
; http://php.net/zend.assertions
|
80
|
+
zend.assertions = -1
|
81
|
+
|
82
|
+
; Enables or disables the circular reference collector.
|
83
|
+
; http://php.net/zend.enable-gc
|
84
|
+
zend.enable_gc = On
|
85
|
+
|
86
|
+
; If enabled, scripts may be written in encodings that are incompatible with
|
87
|
+
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
|
88
|
+
; encodings. To use this feature, mbstring extension must be enabled.
|
89
|
+
; Default: Off
|
90
|
+
;zend.multibyte = Off
|
91
|
+
|
92
|
+
|
93
|
+
```
|
2
質問を受けての追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,4 +27,40 @@
|
|
27
27
|
Error: No formulae found in taps.
|
28
28
|
```
|
29
29
|
homesteadには最初からxdebugが入っているので、これはあまり関係ない気がしますが、phpstormの設定でできない部分の理由がよく分かりません。
|
30
|
-
よろしくお願いいたします。
|
30
|
+
よろしくお願いいたします。
|
31
|
+
|
32
|
+
**質問を受けての追記**
|
33
|
+
---
|
34
|
+
添付していただいたURLを参考に進めていったサーバ側のコマンドです。
|
35
|
+
(PHPのバージョンが7.2.2でしたので、/etc/php/7.2/fpm/conf.d/20-xdebug.iniにしました)
|
36
|
+
|
37
|
+
```
|
38
|
+
vagrant@homestead:~/code/school$ sudo apt-get install xdebug-*
|
39
|
+
Reading package lists... Done
|
40
|
+
Building dependency tree
|
41
|
+
Reading state information... Done
|
42
|
+
Note, selecting 'php-xdebug' for regex 'xdebug-*'
|
43
|
+
Note, selecting 'php7.0-xdebug' for regex 'xdebug-*'
|
44
|
+
Note, selecting 'php5.6-xdebug' for regex 'xdebug-*'
|
45
|
+
Note, selecting 'php7.1-xdebug' for regex 'xdebug-*'
|
46
|
+
Note, selecting 'php7.2-xdebug' for regex 'xdebug-*'
|
47
|
+
Note, selecting 'php-xdebug' instead of 'php5.6-xdebug'
|
48
|
+
Note, selecting 'php-xdebug' instead of 'php7.0-xdebug'
|
49
|
+
Note, selecting 'php-xdebug' instead of 'php7.1-xdebug'
|
50
|
+
Note, selecting 'php-xdebug' instead of 'php7.2-xdebug'
|
51
|
+
php-xdebug is already the newest version (2.6.0+2.5.5-1+ubuntu16.04.1+deb.sur
|
52
|
+
0 upgraded, 0 newly installed, 0 to remove and 230 not upgraded.
|
53
|
+
vagrant@homestead:~/code/school$ php -v
|
54
|
+
PHP 7.2.2-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 1 2018 16:01:26)
|
55
|
+
Copyright (c) 1997-2018 The PHP Group
|
56
|
+
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
|
57
|
+
with Zend OPcache v7.2.2-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 19
|
58
|
+
with Zend Server Z-Ray v9.2.0, Copyright (c) 2004-2017, by Zend Technolog
|
59
|
+
with blackfire v1.18.2~linux-x64-non_zts72, https://blackfire.io, by Sens
|
60
|
+
vagrant@homestead:~/code/school$ sudo su
|
61
|
+
root@homestead:/home/vagrant/code/school# vi /etc/php/7.2/fpm/conf.d/20-xdebug.ini
|
62
|
+
root@homestead:/home/vagrant/code/school# sudo service php7.2-fpm restart
|
63
|
+
root@homestead:/home/vagrant/code/school#
|
64
|
+
```
|
65
|
+
また最後に[Run]-[debug]を行った際に出た画面はこちらです
|
66
|
+

|
1
題名の変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Xdebugが使用できない
|
1
|
+
XdebugがPHPstormにて使用できない (laravel5.5 homestead環境)
|
body
CHANGED
File without changes
|