2013-07-24 128 views
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 
+0

更新:我發現在一個名爲debugclient一個配置文件的文件夾。假設這是正確的,那讓我進入了第二步到最後一步的cp模塊....但是,它在make命令後無法在該文件夾結構中的任何位置找到xdebug.so文件。 –

+0

xdebug.so位於不同的位置。我全身心投入這一個。 –

回答

0

xdebug.so是在zend文件夾/usr/lib/php/extensions/no-debug-non-zts-20090626