xdebug 连接 :https://xdebug.org/wizard.php
Download xdebug-2.5.0.tgz- Unpack the downloaded file with
tar -xvzf xdebug-2.5.0.tgz
- Run:
cd xdebug-2.5.0
-
Run:
phpize
(See the FAQ if you don't havephpize
.As part of its output it should show:
Configuring for: ... Zend Module Api No: 20121212 Zend Extension Api No: 220121212
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-20121212
- Create
/etc/php.ini
and add the line
zend_extension = /usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
If you like Xdebug, and thinks it saves you time and money, please have a look at the donation page.
Just install autoconf manually:
As per http://developer.casgrain.com/?p=125,
- Download the latest release http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz
- Extract the files
- do a normal
./configure; make; sudo make install;