PECL
을 이용하여 설치합니다.pecl install xdebug
pecl install xdebug-beta
Build process completed successfully
Installing '/Users/yunseok/.phpbrew/php/php-7.3.0/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.7.0beta1
configuration option "php_ini" is not set to php.ini location
You should add "zend_extension=/Users/yunseok/.phpbrew/php/php-7.3.0/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so" to php.ini
php.ini
에 설정을 추가하라는 문장이 있습니다. 설정을 그대로 복사해서
php.ini
에 추가하면 됩니다.php.ini
의 경로를 확인하고 싶다면 php --ini
를
입력합니다.