php - MAMP - update xdebug to 2.5.1 -


i spent few hours trying update xdebug 2.4.0 2.5.1 on mamp no luck.

i follow steps of wizard , first issue found not having php.h header while running ./configure. that's because mamp doesn't ship include directory php. found multiple posts on google saying go mamp downloads page , search mamp components - seems not available anymore.

the other advice download php.net, that's did, copied files correct mamp folder. phpize command worked expected, ./configure too. when running make though, complained 'zend_config.h' file not found.

the command phpize shows correct output

configuring for: php api version:         20151012 zend module api no:      20151012 zend extension api no:   320151012 

so, googled error, found this post, followed instructions (basically copy include folder xcode) , make command works fine. file xdebug.so being generated. move file final location stated on xdebug wizard.

then run php --version , get

xdebug requires zend engine api version 220131226. zend engine api version 320151012 installed, newer. contact derick rethans @ http://xdebug.org/docs/faq#api later  version of xdebug.  php 7.0.8 (cli) (built: jul 11 2016 11:30:15) ( nts ) copyright (c) 1997-2016 php group zend engine v3.0.0, copyright (c) 1998-2016 zend technologies 

so follow link faq tells me view zend engine api version , can find running php -i , find zend extension build => api320151012,nts.

after replacing folder xcode, when run phpize while compiling xdebug, get

php api version:         20131106 zend module api no:      20131226 zend extension api no:   220131226 

and driving me crazy. above output doesn't match wizard showing (zend extension api no: 320151012), running php --version tells me correct api no 220131226.

what doing wrong?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -