Installing and enabling Xdebug on MAMP PRO

痴心易碎 提交于 2019-12-03 16:29:59

The creators of MAMP have not released the usual open source components package with the 2.1.1 release, so you'll have to do the following. php.h, zend_modules.h and zend_extensions.h can be found in the source code for PHP 5.4.4. Here's a link to the page with the source code: http://us2.php.net/get/php-5.4.4.tar.gz/from/a/mirror

You'll want to extract that, and the move the folder to /Applications/MAMP/bin/php/php5.4.4/include, creating the include directory if needed. I believe you'll need to run ./configure from within /Applications/MAMP/bin/php/php5.4.4/include/php as well to generate the Zend headers. Then, try the instructions you found again.

Thanks it worked for me. You have to run

./configure

and

make

to generate the missing zend headers.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!