※社内専用

PHP 7.1のxdebugの設定

PHP 7.1.10のxdebugのモジュールはセットになっていないので xdebugのモジュールをダウンロードしにいかなきゃならない。

ダウンロード

https://xdebug.org/download.php で Xdebug 2.5.5 PHP 7.1 VC14 TS (32 bit) を選択してダウンロード php配下のext配下に置く。

php.ini

[XDebug]
zend_extension = C:\z\php\ext\php_xdebug-2.5.5-7.1-vc14.dll
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1

zend_extensionは各々のphp/ext/ファイル名を絶対パスで書く。
参照:
https://qiita.com/ushi_d/items/f4b5af012725728842d7 http://www.pascallandau.com/blog/php7-with-xdebug-2-4-for-phpstorm-on-windows-10/#installing-xdebug