0
我试图在Mac上安装Xdebug,并从创建的说明中,按照指示粘贴到我的phpinfo中后,从http://xdebug.org/wizard.php得到以下输出。我在步骤5中停止。在我下载的tar.gz文件中没有.configure文件。有什么想法吗?在Mac上使用PHPStorm安装Xdebug
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
更新:我发现在一个名为debugclient一个配置文件的文件夹。假设这是正确的,那让我进入了第二步到最后一步的cp模块....但是,它在make命令后无法在该文件夹结构中的任何位置找到xdebug.so文件。 –
xdebug.so位于不同的位置。我全身心投入这一个。 –