0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

xdebugを3.3.2にあげたらsegmentation fault

Posted at

xdebugを3.3.2にあげたら、うまく動作せずに落ちるようになりました。

zsh: segmentation fault  php -S 127.0.0.1:8080

環境

Mac: Sonoma 14.6 (M2pro)
PHP: 8.1.28

結論

xdebug-3.2.2にダウングレードする。

pecl uninstall xdebug
pecl install xdebug-3.2.2

場合によってPATHの修正

pecl installの最後に書かれているPATHを設定します。

# php.ini
zend_extension = "/opt/homebrew/Cellar/php@8.1/8.1.28/pecl/20210902/xdebug.so"

この設定なら修正不要ですね。

zend_extension="xdebug.so"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?