我试图在Mac上安装Xdebug,并根据创建的说明,按照指示粘贴我的phpinfo后,我从http://xdebug.org/wizard.php获得此输出。我在第5步停止了。我下载的tar.gz文件中没有.configure文件。有什么想法吗?
Tailored Installation Instructions
Summary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 5.3.15
Zend API nr: 220090626
PHP API nr: 20090626
Debug Build: no
Thread Safe Build: no
Configuration File Path: /etc
Configuration File: /private/etc/php.ini
Extensions directory: /usr/lib/php/extensions/no-debug-non-zts-20090626
Instructions
Download xdebug-2.2.3.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.2.3.tgz
Run: cd xdebug-2.2.3
Run: phpize (See the FAQ if you don't have phpize.
As part of its output it should show:
Configuring for:
...
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.
Run: ./configure
Run: make
Run: cp modules/xdebug.so /usr/lib/php/extensions/no-debug-non-zts-20090626
Edit /private/etc/php.ini and add the line
zend_extension = /usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
Restart the webserver
答案 0 :(得分:0)
xdebug.so
位于zend
/usr/lib/php/extensions/no-debug-non-zts-20090626
个文件夹中