[xdebug-general] Xdebug does not compile to proper version

From: Michael J Kormendy <mike[@]somethinginteractive.com>
Date: Fri, 30 Aug 2013 13:24:17 -0400

I cannot seem to get Xdebug to compile with the correct header.
Anyone have any ideas why? See further info below:

---
I get this immediate error with the Xdebug when it is loaded by php:
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.
---
My php -i CLI output says this:
PHP Version => 5.4.14
System => Darwin Something-Interactive-Server 11.4.2 Darwin Kernel
Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012;
root:xnu-1699.32.7~1/RELEASE_I386 i386
Build Date => Apr 20 2013 03:25:56
...
PHP API => 20100412
PHP Extension => 20100525
Zend Extension => 220100525
Zend Extension Build => API220100525,NTS
PHP Extension Build => API20100525,NTS
---
Now I have read the FAQ, and when I use the command:
./configure --with-php-config=/usr/bin/php-config
It compiles and I 'make' and 'make install' and then I modify the
php.ini file so that it finds the correct (and only) xdebug.so file.
Furthermore, my phpize and php-config are in the same directory under:
/usr/bin/
Received on Fri Aug 30 2013 - 18:24:38 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST