brew
を使用してphp70とphp70-xdebugをインストールしました。PHPがAPI NTSデバッグで構築されたため、Xdebugを読み込めません。
brew install php70
brew install php70-xdebug
php -v
このエラーを返します:私は、コンパイラに--disable-debug
を渡す方法を見つけ出すことはできません
Cannot load Xdebug - it was built with configuration API320151012,NTS, whereas running engine is API320151012,NTS,debug
、醸造は、事前に構成式(https://github.com/Homebrew/homebrew-php)を使用して、このオプションを設定することはできません。 。
xdebugの式は--disable-debug
、php70の式のオプションは--with-debug
ですが、この引数を使用しない場合でも、--enable-debug
がconfigureコマンドに追加されます。