0

我正在尝试在 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
4

1 回答 1

0

xdebug.sozend文件夹中/usr/lib/php/extensions/no-debug-non-zts-20090626

于 2013-07-24T21:53:06.270 回答