title: How can I install xdebug PHP extension in PHP 7.1.14, which is installed on osx high sierra?
body: <p>Here is php installed version detail on mac:</p>
  
  <pre><code> php -v PHP 7.1.14 (cli) (built: Feb  2 2018 08:41:46) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
      with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
  </code></pre>
  
  <p>Getting error on mac about installed version issue:</p>
  
  <blockquote>
  <pre><code>pecl/xdebug requires PHP (version &gt;= 7.0.0), installed version is 5.6.28
  No valid packages found
  install failed
  </code></pre>
  </blockquote>