brew
을 사용하여 php70 및 php70-xdebug를 설치했습니다.PHP가 API NTS 디버그로 빌드되었으므로 Xdebug를로드 할 수 없습니다.
brew install php70
brew install php70-xdebug
php -v
반환이 오류 :
Cannot load Xdebug - it was built with configuration API320151012,NTS, whereas running engine is API320151012,NTS,debug
내가 컴파일러에 --disable-debug
을 전달하는 방법을 알아낼 수 없습니다가, 양조는 사전 식 (https://github.com/Homebrew/homebrew-php)를 사용하며,이 옵션을 설정하는 것을 허용하지 않습니다 .
문제점 : xdebug 공식에 --disable-debug
이 있고 php70 공식에 옵션 --with-debug
이 있지만이 인수를 사용하지 않더라도 --enable-debug
이 configure 명령에 추가됩니다.