$ /usr/local/lib/php5/bin/php-config --configure-options --prefix=/usr/local/lib/php5 --host=i686-pc-linux-gnu --mandir=/usr/local/lib/php5/man --infodir=/usr/local/lib/php5/info --sysconfdir=/etc --cache-file=./config.cache --with-pcre-regex=/usr --enable-cli --disable-cgi --with-config-file-path=/etc/php/cli-php5 --with-config-file-scan-dir=/etc/php/cli-php5/ext-active --without-pear --disable-bcmath --with-bz2 --disable-calendar --with-curl --without-curlwrappers --disable-dbase --disable-exif --without-fbsql --without-fdftk --disable-ftp --with-gettext --without-gmp --disable-ipv6 --without-kerberos --enable-mbstring --with-mcrypt --without-mhash --without-msql --without-mssql --with-ncurses --with-openssl --with-openssl-dir=/usr --disable-pcntl --without-pgsql --disable-posix --with-pspell --without-recode --disable-shmop --with-snmp --disable-soap --disable-sockets --without-sybase --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --with-tidy --disable-wddx --disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --disable-zip --with-zlib --disable-debug --enable-dba --without-cdb --with-db4 --disable-flatfile --without-gdbm --disable-inifile --without-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --without-xpm-dir --with-gd --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli=/usr/bin/mysql_config --without-pdo-dblib --with-pdo-mysql=/usr --without-pdo-odbc --without-pdo-pgsql --with-pdo-sqlite=/usr --with-readline --without-libedit --without-mm --with-sqlite=/usr --enable-sqlite-utf8 $ /usr/local/lib/php5/bin/php -v PHP 5.3.0alpha3-dev (cli) (built: Dec 3 2008 11:35:21) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies with Xdebug v2.1.0-dev, Copyright (c) 2002-2008, by Derick Rethans (gdb) run -a Starting program: /usr/local/lib/php5/bin/php -a [Thread debugging using libthread_db enabled] [New Thread 0xb724c6d0 (LWP 5997)] Interactive shell php > require_once('foo.php'); Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb724c6d0 (LWP 5997)] 0xb7043743 in add_stack_frame (zdata=0x89b1aa0, op_array=0x8982804, type=2) at /root/xdebug-2.1/xdebug.c:1120 1120 /root/xdebug-2.1/xdebug.c: No such file or directory. in /root/xdebug-2.1/xdebug.c (gdb) bt #0 0xb7043743 in add_stack_frame (zdata=0x89b1aa0, op_array=0x8982804, type=2) at /root/xdebug-2.1/xdebug.c:1120 #1 0xb7044d05 in xdebug_execute (op_array=0x8982804) at /root/xdebug-2.1/xdebug.c:1560 #2 0x083289e6 in execute_new_code () at /root/php-5.3/Zend/zend_execute_API.c:1253 #3 0x08308919 in zendparse () at /root/php-5.3/Zend/zend_language_parser.y:159 #4 0x0830987d in compile_file (file_handle=0xbfc05040, type=8) at Zend/zend_language_scanner.l:345 #5 0x081c9275 in phar_compile_file (file_handle=0xbfc05040, type=8) at /root/php-5.3/ext/phar/phar.c:3349 #6 0xb7047932 in xdebug_compile_file (file_handle=0xbfc05040, type=8) at /root/xdebug-2.1/xdebug.c:2535 #7 0x08358993 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER (execute_data=0x89b1aa0) at /root/php-5.3/Zend/zend_vm_execute.h:1861 #8 0x08355de9 in execute (op_array=0x89822f8) at /root/php-5.3/Zend/zend_vm_execute.h:104 #9 0xb7044eca in xdebug_execute (op_array=0x89822f8) at /root/xdebug-2.1/xdebug.c:1606 #10 0x083289e6 in execute_new_code () at /root/php-5.3/Zend/zend_execute_API.c:1253 #11 0x08308919 in zendparse () at /root/php-5.3/Zend/zend_language_parser.y:159 #12 0x0830987d in compile_file (file_handle=0xbfc066f0, type=8) at Zend/zend_language_scanner.l:345 #13 0x081c9275 in phar_compile_file (file_handle=0xbfc066f0, type=8) at /root/php-5.3/ext/phar/phar.c:3349 #14 0xb7047932 in xdebug_compile_file (file_handle=0xbfc066f0, type=8) at /root/xdebug-2.1/xdebug.c:2535 #15 0x08358993 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER (execute_data=0x89b1a40) at /root/php-5.3/Zend/zend_vm_execute.h:1861 #16 0x08355de9 in execute (op_array=0x8981d78) at /root/php-5.3/Zend/zend_vm_execute.h:104 #17 0xb7044eca in xdebug_execute (op_array=0x8981d78) at /root/xdebug-2.1/xdebug.c:1606 #18 0x08329cef in zend_eval_string (str=0x8980d70 "require_once('foo.php');\n", retval_ptr=0x0, string_name=0x87d408d "php shell code") at /root/php-5.3/Zend/zend_execute_API.c:1150 #19 0x083bf642 in main (argc=2, argv=0xbfc06be4) at /root/php-5.3/sapi/cli/php_cli.c:1106 (gdb)