1. Copy你的所有的phpinfo()信息到这个网站中间的空白页处:
Tailored Installation Instructions
Summary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 5.5.9-1
Zend API nr: 220121212
PHP API nr: 20121212
Debug Build: no
Thread Safe Build: no
Configuration File Path: /etc/php5/apache2
Configuration File: /etc/php5/apache2/php.ini
Extensions directory: /usr/lib/php5/20121212
Instructions
Download xdebug-2.2.6.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.2.6.tgz
Run: cd xdebug-2.2.6
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: 20121212
Zend Extension Api No: 2
http://xdebug.org/wizard.php
Tailored Installation Instructions
Summary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 5.5.9-1
Zend API nr: 220121212
PHP API nr: 20121212
Debug Build: no
Thread Safe Build: no
Configuration File Path: /etc/php5/apache2
Configuration File: /etc/php5/apache2/php.ini
Extensions directory: /usr/lib/php5/20121212
Instructions
Download xdebug-2.2.6.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.2.6.tgz
Run: cd xdebug-2.2.6
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: 20121212
Zend Extension Api No: 2