title: Xdebug bad Zend API Version Number
body: <p>I am having trouble upgrading xdebug for MAMP. I was running version 2.2.0 and there was a known issue that I ran into: <a href="https://stackoverflow.com/questions/20389916/phpstorm-and-xdebug-not-breaking-in-symfony2-controller">PhpStorm and Xdebug not breaking in Symfony2 Controller</a></p>
  
  <p>I tried to upgrade to version 2.2.3 by following the instructions from <a href="http://xdebug.org/wizard.php" rel="nofollow noreferrer">http://xdebug.org/wizard.php</a></p>
  
  <p>After downloading and extracting the xdebug tar I ran <code>/Applications/MAMP/bin/php/php5.4.4/bin/phpize</code> </p>
  
  <p>Here is the output:</p>
  
  <pre><code>Configuring for:
  PHP Api Version:         20100412
  Zend Module Api No:      20100525
  Zend Extension Api No:   220100525
  </code></pre>
  
  <p>I then copied the modules/xdebug.so file into the mamp php5.4.4 extensions dir: `/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/xdebug.</p>
  
  <p>If I run <code>/Applications/MAMP/bin/php/php5.4.4/bin/php -v</code> I get the following:</p>
  
  <pre><code>Xdebug requires Zend Engine API version 220090626.
  The Zend Engine API version 220100525 which is installed, is newer.
  Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
  
  PHP 5.4.4 (cli) (built: Jul  4 2012 17:28:56)
  Copyright (c) 1997-2012 The PHP Group
  Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
  </code></pre>
  
  <p>I have restarted MAMP and Apache and tried loading a page with <code>phpinfo()</code> and I do not see Xdebug listed. If I moved the old xdebug.so file back in place the error is removed and <code>phpinfo()</code> show xdebug as enabled </p>