centos 6 php 5.3 xdebug


yum install php-devel
yum install php-pear
yum install gcc gcc-c++ autoconf automake

pecl install Xdebug

whereis php.ini

[xdebug]
; zend_extension="/usr/lib64/php/modules/xdebug.so"
zend_extension="/usr/lib/php/modules/xdebug.so"
xdebug.remote_enable = 1


error message

[root@localhost data]# pecl install Xdebug
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/xdebug requires PHP (version >= 5.4.0), installed version is 5.3.3
No valid packages found
install failed


solution


[root@localhost data]# sudo pecl install xdebug-2.2.7
downloading xdebug-2.2.7.tgz ...
Starting to download xdebug-2.2.7.tgz (256,437 bytes)
.....done: 256,437 bytes
66 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-rootXWPCJq/xdebug-2.2.7

댓글

가장 많이 본 글