Xdebug is a Swiss Army knife for debugging and tracking php programs in Ubuntu. It is a required tool during php development. The ghost is installed in Ubuntu and the installation process is recorded. The first step is to have a php environment. I use pecl to download and install it, which saves the trouble of manual compilation. If pecl is not available, install php-pear, but the source code is still downloaded by pecl, after the download will automatically compile, during the use of a phpize stuff, if there is no phpize on the installation of the php5-dev I have been
Xdebug is a Swiss Army knife for debugging and tracking php programs in Ubuntu. It is a required tool during php development. The ghost is installed in Ubuntu and the installation process is recorded.
First, you must have a php environment.
I used pecl to download and install it, saving the trouble of manual compilation.
If you do not have pecl on the installation of php-pear, but the pecl download is the source code, the download will be automatically compiled, during the use of a phpize stuff, if there is no phpize on the installation of php5-dev
The entire process is as follows...
Sudo apt-get install php-pear
Sudo apt-get install php5-dev
Sudo pecl install xdebug
After the download and installation are complete, add
Extension = xdebug. so
And
[Zend]
Zend_extension = "/usr/local/php/modules/xdebug. so"
Restart apache.