ID: 36084 Updated by: [EMAIL PROTECTED] Reported By: clive at darkarts dot co dot za -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: FreeBSD PHP Version: 5.1.2 New Comment:
Then you need to add rest of your options one by one to see which one is causing the problem for you. Previous Comments: ------------------------------------------------------------------------ [2006-01-20 09:47:12] clive at darkarts dot co dot za commandline for both versions (again): rm config.cache ; ./configure --disable-all --disable-cgi --enable-maintainer-zts --with-apxs2=/usr/local/sbin/apxs && make clean && make && sapi/cli/php -r 'phpinfo();' no segfaulting, runs fine. ------------------------------------------------------------------------ [2006-01-20 09:22:41] [EMAIL PROTECTED] Now try the same but add --with-apxs2=/usr/local/sbin/apxs to the configure options. ------------------------------------------------------------------------ [2006-01-20 08:19:42] clive at darkarts dot co dot za commandline as follows was used: % rm config.cache ; ./configure --disable-all --disable-cgi --enable-maintainer-zts && make clean && make && sapi/cli/php -r 'phpinfo();' this runs fine, without segfaulting, on both 5.1.2 as well as the snapshot 5.1-200601191130. 'sapi/cli/php -v' on 5.1.2 gives: PHP 5.1.2 (cli) (built: Jan 20 2006 09:28:25) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies 'sapi/cli/php -v' on 5.1.200601191130 gives: PHP 5.1.3-dev (cli) (built: Jan 20 2006 09:19:48) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies ------------------------------------------------------------------------ [2006-01-19 16:16:41] [EMAIL PROTECTED] Try adding --enable-maintainer-zts to that previous configure line. Does it still crash? What does this output: # sapi/cli/php -v And 'make clean' is _mandatory_ always. (remember to 'rm config.cache' before running the configure line too!) ------------------------------------------------------------------------ [2006-01-19 16:11:40] [EMAIL PROTECTED] >undefined reference to `spl_ce_Countable' Yeah, `make clean` is required before `make`. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36084 -- Edit this bug report at http://bugs.php.net/?id=36084&edit=1