Xdebugインストール / CentOS 6

プログラミング言語PHP

手順

 状態:-  閲覧数:937  投稿日:2017-03-05  更新日:2019-04-30
$ pecl install xdebug
$ sudo vi /etc/opt/remi/php70/php.d/xdebug.ini
zend_extension=/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so

$ service httpd configtest
$ sudo service httpd restart


zend_extension=/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so
xdebug.overload_var_dump = 0


# pecl install xdebug

 閲覧数:167 投稿日:2017-03-05 更新日:2017-03-05 

失敗


$ pecl install xdebug
Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user



成功


$ sudo -s  
                                                                                                                                       
[sudo] password for ★★:

# pecl install xdebug
downloading xdebug-2.5.1.tgz ...
Starting to download xdebug-2.5.1.tgz (278,286 bytes)
......................done: 278,286 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1
running: /var/tmp/xdebug/configure --with-php-config=/opt/remi/php70/root/usr/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /opt/remi/php70/root/usr
checking for PHP includes... -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib
checking for PHP extension directory... /opt/remi/php70/root/usr/lib64/php/modules
checking for PHP installed headers prefix... /opt/remi/php70/root/usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable Xdebug support... yes, shared
checking Check for supported PHP versions... supported (7.0.14)
checking for gettimeofday... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for cos in -lm... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug.c -o xdebug.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug.c  -fPIC -DPIC -o .libs/xdebug.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_branch_info.c -o xdebug_branch_info.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_branch_info.c  -fPIC -DPIC -o .libs/xdebug_branch_info.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_code_coverage.c -o xdebug_code_coverage.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_code_coverage.c  -fPIC -DPIC -o .libs/xdebug_code_coverage.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_com.c -o xdebug_com.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_com.c  -fPIC -DPIC -o .libs/xdebug_com.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_compat.c -o xdebug_compat.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_compat.c  -fPIC -DPIC -o .libs/xdebug_compat.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_handler_dbgp.c -o xdebug_handler_dbgp.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_handler_dbgp.c  -fPIC -DPIC -o .libs/xdebug_handler_dbgp.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_handlers.c -o xdebug_handlers.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_handlers.c  -fPIC -DPIC -o .libs/xdebug_handlers.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_llist.c -o xdebug_llist.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_llist.c  -fPIC -DPIC -o .libs/xdebug_llist.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_monitor.c -o xdebug_monitor.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_monitor.c  -fPIC -DPIC -o .libs/xdebug_monitor.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_hash.c -o xdebug_hash.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_hash.c  -fPIC -DPIC -o .libs/xdebug_hash.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_private.c -o xdebug_private.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_private.c  -fPIC -DPIC -o .libs/xdebug_private.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_profiler.c -o xdebug_profiler.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_profiler.c  -fPIC -DPIC -o .libs/xdebug_profiler.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_set.c -o xdebug_set.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_set.c  -fPIC -DPIC -o .libs/xdebug_set.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_stack.c -o xdebug_stack.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_stack.c  -fPIC -DPIC -o .libs/xdebug_stack.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_str.c -o xdebug_str.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_str.c  -fPIC -DPIC -o .libs/xdebug_str.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_superglobals.c -o xdebug_superglobals.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_superglobals.c  -fPIC -DPIC -o .libs/xdebug_superglobals.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_tracing.c -o xdebug_tracing.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_tracing.c  -fPIC -DPIC -o .libs/xdebug_tracing.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_trace_textual.c -o xdebug_trace_textual.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_trace_textual.c  -fPIC -DPIC -o .libs/xdebug_trace_textual.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_trace_computerized.c -o xdebug_trace_computerized.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_trace_computerized.c  -fPIC -DPIC -o .libs/xdebug_trace_computerized.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_trace_html.c -o xdebug_trace_html.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_trace_html.c  -fPIC -DPIC -o .libs/xdebug_trace_html.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_var.c -o xdebug_var.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_var.c  -fPIC -DPIC -o .libs/xdebug_var.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/xdebug_xml.c -o xdebug_xml.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/xdebug_xml.c  -fPIC -DPIC -o .libs/xdebug_xml.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=compile cc  -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/xdebug/usefulstuff.c -o usefulstuff.lo
libtool: compile:  cc -I. -I/var/tmp/xdebug -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/xdebug/usefulstuff.c  -fPIC -DPIC -o .libs/usefulstuff.o
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/include -I/var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/main -I/var/tmp/xdebug -I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -o xdebug.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/modules  xdebug.lo xdebug_branch_info.lo xdebug_code_coverage.lo xdebug_com.lo xdebug_compat.lo xdebug_handler_dbgp.lo xdebug_handlers.lo xdebug_llist.lo xdebug_monitor.lo xdebug_hash.lo xdebug_private.lo xdebug_profiler.lo xdebug_set.lo xdebug_stack.lo xdebug_str.lo xdebug_superglobals.lo xdebug_tracing.lo xdebug_trace_textual.lo xdebug_trace_computerized.lo xdebug_trace_html.lo xdebug_var.lo xdebu
g_xml.lo usefulstuff.lo -lm
libtool: link: cc -shared  .libs/xdebug.o .libs/xdebug_branch_info.o .libs/xdebug_code_coverage.o .libs/xdebug_com.o .libs/xdebug_compat.o .libs/xdebug_handler_dbgp.o .libs/xdebug_handlers.o .libs/xdebug_llist.o .libs/xdebug_monitor.o .libs/xdebug_hash.o .libs/xdebug_private.o .libs/xdebug_profiler.o .libs/xdebug_set.o .libs/xdebug_stack.o .libs/xdebug_str.o .libs/xdebug_superglobals.o .libs/xdebug_tracing.o .libs/xdebug_trace_textual.o .libs/xdebug_trace_computerized.o .libs/xdebug_trace_html.o .libs/xdebug_var.o .libs/xdebug_xml.o .libs/usefulstuff.o   -lm    -Wl,-soname -Wl,xdebug.so -o .libs/xdebug.so
libtool: link: ( cd ".libs" && rm -f "xdebug.la" && ln -s "../xdebug.la" "xdebug.la" )
/bin/sh /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/libtool --mode=install cp ./xdebug.la /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/modules
libtool: install: cp ./.libs/xdebug.so /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/modules/xdebug.so
libtool: install: cp ./.libs/xdebug.lai /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/modules/xdebug.la
libtool: finish: PATH="/opt/remi/php70/root/usr/bin:/home/★★/.rvm/gems/ruby-2.0.0-p247/bin:/home/★★/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/★★/.rvm/rubies/ruby-2.0.0-p247/bin:/home/★★/.nodebrew/current/bin:/opt/remi/php70/root/usr/bin:/opt/remi/php70/root/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/★★/bin:/home/★★/.rvm/bin:/sbin" ldconfig -n /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/modules
----------------------------------------------------------------------
Libraries have been installed in:
  /var/tmp/pear-build-rootKLfhH2/xdebug-2.5.1/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1" install
Installing shared extensions:     /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root/usr/lib64/php/modules/

 +----------------------------------------------------------------------+
 |                                                                      |
 |   INSTALLATION INSTRUCTIONS                                          |
 |   =========================                                          |
 |                                                                      |
 |   See http://xdebug.org/install.php#configure-php for instructions   |
 |   on how to enable Xdebug for PHP.                                   |
 |                                                                      |
 |   Documentation is available online as well:                         |
 |   - A list of all settings:  http://xdebug.org/docs-settings.php     |
 |   - A list of all functions: http://xdebug.org/docs-functions.php    |
 |   - Profiling instructions:  http://xdebug.org/docs-profiling2.php   |
 |   - Remote debugging:        http://xdebug.org/docs-debugger.php     |
 |                                                                      |
 |                                                                      |
 |   NOTE: Please disregard the message                                 |
 |       You should add "extension=xdebug.so" to php.ini                |
 |   that is emitted by the PECL installer. This does not work for      |
 |   Xdebug.                                                            |
 |                                                                      |
 +----------------------------------------------------------------------+


running: find "/var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1" | xargs ls -dils
1446273    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1
1446338    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt
1446339    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi
1446340    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70
1446341    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root
1446342    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root/usr
1446343    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root/usr/lib64
1446344    4 drwxr-xr-x 3 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root/usr/lib64/php
1446345    4 drwxr-xr-x 2 root root    4096  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root/usr/lib64/php/modules
1446337 1076 -rwxr-xr-x 1 root root 1100596  3月  5 10:27 2017 /var/tmp/pear-build-rootKLfhH2/install-xdebug-2.5.1/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so

Build process completed successfully
Installing '/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.5.1
configuration option "php_ini" is not set to php.ini location
You should add "zend_extension=/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so" to php.ini


インストールしたXdebugを有効化するため、php.iniへ追加

 閲覧数:194 投稿日:2017-03-05 更新日:2017-03-05 

現状確認


$ php --ini
Configuration File (php.ini) Path: /etc/opt/remi/php70
Loaded Configuration File:         /etc/opt/remi/php70/php.ini
Scan for additional .ini files in: /etc/opt/remi/php70/php.d
Additional .ini files parsed:      /etc/opt/remi/php70/php.d/20-bcmath.ini,
/etc/opt/remi/php70/php.d/20-bz2.ini,
/etc/opt/remi/php70/php.d/20-calendar.ini,
/etc/opt/remi/php70/php.d/20-ctype.ini,
/etc/opt/remi/php70/php.d/20-curl.ini,
/etc/opt/remi/php70/php.d/20-dom.ini,
/etc/opt/remi/php70/php.d/20-exif.ini,
/etc/opt/remi/php70/php.d/20-fileinfo.ini,
/etc/opt/remi/php70/php.d/20-ftp.ini,
/etc/opt/remi/php70/php.d/20-gd.ini,
/etc/opt/remi/php70/php.d/20-gettext.ini,
/etc/opt/remi/php70/php.d/20-iconv.ini,
/etc/opt/remi/php70/php.d/20-json.ini,
/etc/opt/remi/php70/php.d/20-mbstring.ini,
/etc/opt/remi/php70/php.d/20-mcrypt.ini,
/etc/opt/remi/php70/php.d/20-mysqlnd.ini,
/etc/opt/remi/php70/php.d/20-pdo.ini,
/etc/opt/remi/php70/php.d/20-phar.ini,
/etc/opt/remi/php70/php.d/20-posix.ini,
/etc/opt/remi/php70/php.d/20-shmop.ini,
/etc/opt/remi/php70/php.d/20-simplexml.ini,
/etc/opt/remi/php70/php.d/20-sockets.ini,
/etc/opt/remi/php70/php.d/20-sqlite3.ini,
/etc/opt/remi/php70/php.d/20-sysvmsg.ini,
/etc/opt/remi/php70/php.d/20-sysvsem.ini,
/etc/opt/remi/php70/php.d/20-sysvshm.ini,
/etc/opt/remi/php70/php.d/20-tokenizer.ini,
/etc/opt/remi/php70/php.d/20-xml.ini,
/etc/opt/remi/php70/php.d/20-xmlwriter.ini,
/etc/opt/remi/php70/php.d/20-xsl.ini,
/etc/opt/remi/php70/php.d/30-mysqli.ini,
/etc/opt/remi/php70/php.d/30-pdo_dblib.ini,
/etc/opt/remi/php70/php.d/30-pdo_mysql.ini,
/etc/opt/remi/php70/php.d/30-pdo_sqlite.ini,
/etc/opt/remi/php70/php.d/30-wddx.ini,
/etc/opt/remi/php70/php.d/30-xmlreader.ini,
/etc/opt/remi/php70/php.d/40-propro.ini,
/etc/opt/remi/php70/php.d/mecab.ini



php.iniへ追加


新規「.iniファイル」作成
$ sudo vi /etc/opt/remi/php70/php.d/xdebug.ini
zend_extension=/opt/remi/php70/root/usr/lib64/php/modules/xdebug.so



Apache再起動


$ service httpd configtest
$ sudo service httpd restart


動作確認

 閲覧数:160 投稿日:2017-03-05 更新日:2017-03-05 

Xdebugインストール前


$a = "new string";
xdebug_debug_zval('a');
Fatal error: Uncaught Error: Call to undefined function xdebug_debug_zval()



Xdebugインストール後


$a = "new string";
xdebug_debug_zval('a');
a:
(refcount=0, is_ref=0)string 'new string' (length=10)


翌日

 閲覧数:210 投稿日:2017-03-08 更新日:2017-03-08 

昨日成功したはずなのに



Fatal error: Uncaught Error: Call to undefined function xdebug_debug_zval()

$ sudo pecl install xdebug


pecl/xdebug is already installed and is the same as the released version 2.5.1
install failed


$ php -i |grep xdebug    
                                                                                                                         
/etc/opt/remi/php70/php.d/xdebug.ini
xdebug
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.coverage_enable => On => On
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.file_link_format => no value => no value
xdebug.force_display_errors => Off => Off
xdebug.force_error_reporting => 0 => 0
xdebug.halt_level => 0 => 0
xdebug.idekey => no value => no value
xdebug.max_nesting_level => 256 => 256
xdebug.max_stack_frames => -1 => -1
xdebug.overload_var_dump => 2 => 2
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => Off => Off
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_enable_trigger_value => no value => no value
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_addr_header => no value => no value
xdebug.remote_autostart => Off => Off
xdebug.remote_connect_back => Off => Off
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => Off => Off
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => no value => no value
xdebug.remote_mode => req => req
xdebug.remote_port => 9000 => 9000
xdebug.scream => Off => Off
xdebug.show_error_trace => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_enable_trigger => Off => Off
xdebug.trace_enable_trigger_value => no value => no value
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3



$ pear list -a
Installed packages, channel __uri:
==================================
(no packages installed)

Installed packages, channel doc.php.net:
========================================
(no packages installed)

Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.4.2   stable
Console_Getopt   1.4.1   stable
PEAR             1.10.3  stable
PEAR_Manpages    1.10.0  stable
Structures_Graph 1.1.1   stable
XML_Parser       1.3.6   stable
XML_RSS          1.1.0a1 alpha
XML_Util         1.4.2   stable

Installed packages, channel pecl.php.net:
=========================================
Package Version State
imagick 3.4.1   stable
propro  2.0.1   stable
xdebug  2.5.1   stable



GitHub - xdebug/xdebug: Xdebug


PHPをインストールすると、どうなるの?

xdebug.overload_var_dump = 0



週間人気ページランキング / 9-19 → 9-25
順位 ページタイトル抜粋 アクセス数
1 Nginx設定。エラーログレベル | Nginx(Webサーバ) 16
2 PHP実行ユーザ設定 / CentOS6 / Apache | PHP(プログラミング言語) 15
3 PHPのmb_send_mail関数でメール送信できない | メール処理システム 11
4 9回目-13.MySQL5.7.21設定 | CentOS 7 2週間無料のお試し期間 9回目(さくらVPS) 10
5 tar: これは tar アーカイブではないようです 8
5 ImageMagick と imagick の違い | ImageMagick(ソフトウェアスイート) 8
5 さくらVPS0 8
6 manページ日本語表示 | CentOS 7 (CentOS) 7
6 Python 3.5 アンインストール / yum remove | Python(プログラミング言語) 7
7 ABRT により 問題が検出されました | CentOS 7 (CentOS) 6
7 Reached target Shutdown メッセージが表示されたあと、シャットダウンまたは再起動プロセスがハングアップする | CentOS 7 (CentOS) 6
7 PHPファイルでchmodエラー | PHP(プログラミング言語) 6
7 echo と cat の違い 6
8 FFmpeg 2.8.15 を yum インストール | ソフトウェアスイート 5
8 「設定ファイルに、暗号化 (blowfish_secret) 用の非公開パスフレーズの設定を必要とするようになりました。」対応 5
8 「CentOS6」から「CentOS7」への移行 | CentOS 7 (CentOS) 5
8 「さくらVPS」で、「CentOS6」を「CentOS7」へ変更するためには? | CentOS 7 2週間無料のお試し期間 Link(さくらVPS) 5
9 6回目-10.Nginxでバーチャルホスト設定確認 | CentOS 7 2週間無料のお試し期間 6回目(さくらVPS) 4
9 cronで定期実行しているphpファイルを、コマンドライン経由で即時実行する | cron(Linuxコマンド) 4
9 MySQL 5.5 から 5.6 へのアップグレード | MySQL(データベース) 4
2021/9/26 1:01 更新