Apache 2.2 mit Xdebug unter PHP5 (debian/etch)

Vorbereitungen

Compile

  • Compilieren

compile

web99:/usr/src/xdebug-2.0.2# phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519

web99:/usr/src/xdebug-2.0.2# ./configure --enable-xdebug
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
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... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20060613
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable eXtended debugging support... yes, shared
checking for gettimeofday... yes
checking for cos in -lm... yes
/bin/sed: can't read /Makefile.frag: No such file or directory
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc 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 libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
web99:/usr/src/xdebug-2.0.2# make
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug.c -o xdebug.lo 
mkdir .libs
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug.c  -fPIC -DPIC -o .libs/xdebug.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_code_coverage.c -o xdebug_code_coverage.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_code_coverage.c  -fPIC -DPIC -o .libs/xdebug_code_coverage.o
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c: In function 'xdebug_find_jump':
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c:117: warning: cast from pointer to integer of different size
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c: In function 'prefill_from_oparray':
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c:232: warning: assignment makes pointer from integer without a cast
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c: In function 'prefill_from_function_table':
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c:267: warning: comparison between pointer and integer
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c: In function 'xdebug_prefill_code_coverage':
/usr/src/xdebug-2.0.2/xdebug_code_coverage.c:307: warning: comparison between pointer and integer
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_com.c -o xdebug_com.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_com.c  -fPIC -DPIC -o .libs/xdebug_com.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_compat.c -o xdebug_compat.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_compat.c  -fPIC -DPIC -o .libs/xdebug_compat.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_handler_dbgp.c -o xdebug_handler_dbgp.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_handler_dbgp.c  -fPIC -DPIC -o .libs/xdebug_handler_dbgp.o
/usr/src/xdebug-2.0.2/xdebug_handler_dbgp.c: In function 'xdebug_dbgp_breakpoint':
/usr/src/xdebug-2.0.2/xdebug_handler_dbgp.c:2489: warning: initialization discards qualifiers from pointer target type
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_handler_gdb.c -o xdebug_handler_gdb.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_handler_gdb.c  -fPIC -DPIC -o .libs/xdebug_handler_gdb.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_handler_php3.c -o xdebug_handler_php3.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_handler_php3.c  -fPIC -DPIC -o .libs/xdebug_handler_php3.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_handlers.c -o xdebug_handlers.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_handlers.c  -fPIC -DPIC -o .libs/xdebug_handlers.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_llist.c -o xdebug_llist.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_llist.c  -fPIC -DPIC -o .libs/xdebug_llist.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_hash.c -o xdebug_hash.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_hash.c  -fPIC -DPIC -o .libs/xdebug_hash.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_private.c -o xdebug_private.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_private.c  -fPIC -DPIC -o .libs/xdebug_private.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_profiler.c -o xdebug_profiler.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_profiler.c  -fPIC -DPIC -o .libs/xdebug_profiler.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_set.c -o xdebug_set.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_set.c  -fPIC -DPIC -o .libs/xdebug_set.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_str.c -o xdebug_str.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_str.c  -fPIC -DPIC -o .libs/xdebug_str.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_superglobals.c -o xdebug_superglobals.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_superglobals.c  -fPIC -DPIC -o .libs/xdebug_superglobals.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_var.c -o xdebug_var.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_var.c  -fPIC -DPIC -o .libs/xdebug_var.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/xdebug_xml.c -o xdebug_xml.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/xdebug_xml.c  -fPIC -DPIC -o .libs/xdebug_xml.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=compile gcc  -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -c /usr/src/xdebug-2.0.2/usefulstuff.c -o usefulstuff.lo 
 gcc -I. -I/usr/src/xdebug-2.0.2 -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /usr/src/xdebug-2.0.2/usefulstuff.c  -fPIC -DPIC -o .libs/usefulstuff.o
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=link gcc -DPHP_ATOM_INC -I/usr/src/xdebug-2.0.2/include -I/usr/src/xdebug-2.0.2/main -I/usr/src/xdebug-2.0.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O0   -o xdebug.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/src/xdebug-2.0.2/modules  xdebug.lo xdebug_code_coverage.lo xdebug_com.lo xdebug_compat.lo xdebug_handler_dbgp.lo xdebug_handler_gdb.lo xdebug_handler_php3.lo xdebug_handlers.lo xdebug_llist.lo xdebug_hash.lo xdebug_private.lo xdebug_profiler.lo xdebug_set.lo xdebug_str.lo xdebug_superglobals.lo xdebug_var.lo xdebug_xml.lo usefulstuff.lo -lm
gcc -shared  .libs/xdebug.o .libs/xdebug_code_coverage.o .libs/xdebug_com.o .libs/xdebug_compat.o .libs/xdebug_handler_dbgp.o .libs/xdebug_handler_gdb.o .libs/xdebug_handler_php3.o .libs/xdebug_handlers.o .libs/xdebug_llist.o .libs/xdebug_hash.o .libs/xdebug_private.o .libs/xdebug_profiler.o .libs/xdebug_set.o .libs/xdebug_str.o .libs/xdebug_superglobals.o .libs/xdebug_var.o .libs/xdebug_xml.o .libs/usefulstuff.o  -lm  -Wl,-soname -Wl,xdebug.so -o .libs/xdebug.so
creating xdebug.la
(cd .libs && rm -f xdebug.la && ln -s ../xdebug.la xdebug.la)
/bin/sh /usr/src/xdebug-2.0.2/libtool --mode=install cp ./xdebug.la /usr/src/xdebug-2.0.2/modules
cp ./.libs/xdebug.so /usr/src/xdebug-2.0.2/modules/xdebug.so
cp ./.libs/xdebug.lai /usr/src/xdebug-2.0.2/modules/xdebug.la
PATH="$PATH:/sbin" ldconfig -n /usr/src/xdebug-2.0.2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/src/xdebug-2.0.2/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.
(It is safe to ignore warnings about tempnam and tmpnam).

web99:/usr/src/xdebug-2.0.2# cp modules/xdebug.so /usr/lib/php5/
20060613/    build/       libexec/     maxlifetime  
web99:/usr/src/xdebug-2.0.2# cp modules/xdebug.so /usr/lib/php5/20060613/
curl.so       mysqli.so     mysql.so      pdo_mysql.so  pdo.so        tidy.so       

Installation

installieren

web99:/usr/src/xdebug-2.0.2# cp modules/xdebug.so /usr/lib/php5/20060613/

<code|/etc/php5/apache2/conf.d/xdebug.ini>
# configuration for php xdebug module
zend_extension=/usr/lib/php5/20060613/xdebug.so
#zend_extension_ts=/usr/lib/php5/20060613/xdebug.so
  • /etc/init.d/apache2 force-reload

phpinfo

phpinfo

xdebug

   xdebug support enabled
   Version        2.0.2
         Supported protocols              Revision
   DBGp - Common DeBuGger Protocol $Revision: 1.125.2.2 $
   GDB - GNU Debugger protocol     $Revision: 1.87 $
   PHP3 - PHP 3 Debugger protocol  $Revision: 1.22 $
              Directive               Local Value        Master Value
   xdebug.auto_trace               Off                Off
   xdebug.collect_includes         On                 On
   xdebug.collect_params           0                  0
   xdebug.collect_return           Off                Off
   xdebug.collect_vars             Off                Off
   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.idekey                   no value           no value
   xdebug.manual_url               http://www.php.net http://www.php.net
   xdebug.max_nesting_level        100                100
   xdebug.profiler_aggregate       Off                Off
   xdebug.profiler_append          Off                Off
   xdebug.profiler_enable          Off                Off
   xdebug.profiler_enable_trigger  Off                Off
   xdebug.profiler_output_dir      /tmp               /tmp
   xdebug.profiler_output_name     cachegrind.out.%p  cachegrind.out.%p
   xdebug.remote_autostart         Off                Off
   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.show_exception_trace     Off                Off
   xdebug.show_local_vars          Off                Off
   xdebug.show_mem_delta           Off                Off
   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
 
wissen/gpl/php/php5-xdebug-debugger-profiler-development-tool-unter-debian-etch-und-apache2.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de