#3477 [Opn->]: Apache crashes right after startup when solid is compiled in php3

From: Date: Tue, 01 Oct 2002 20:29:09 +0000
Subject: #3477 [Opn->]: Apache crashes right after startup when solid is compiled in php3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21139@lists.php.net to get a copy of this message
ID: 3477 Updated by: hholzgra@php.net Reported By: eric@terra.nu -Status: Open +Status: Won\'t fix Bug Type: Solid related Operating System: Linux 2.2.13 i686 PHP Version: 3.0.14 New Comment: We are sorry, but can not support PHP 3 related problems anymore. Momentum is gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will will continue to be supported for the forseeable future. solid extension was dropped in favour of unified odbc extension Previous Comments: ------------------------------------------------------------------------ [2000-02-14 10:29:38] eric@terra.nu I had to patch php-3 a little to get it compiled with Solid 3.0. This are the patches: =================================================================== RCS file: /repository/php3/aclocal.m4,v retrieving revision 1.49 diff -u -r1.49 aclocal.m4 --- aclocal.m4 2000/01/01 02:30:52 1.49 +++ aclocal.m4 2000/02/14 08:52:56 @@ -156,6 +156,9 @@ SOLID_LIBS=echo $1/scl2x${ac_solid_os}*.a | cut -d' ' -f1 fi if test ! -f $SOLID_LIBS; then + SOLID_LIBS=echo $1/scll2x*.so | cut -d' ' -f1 + fi + if test ! -f $SOLID_LIBS; then SOLID_LIBS=echo $1/bcl${ac_solid_os}*.so | cut -d' ' -f1 fi if test ! -f $SOLID_LIBS; then Index: functions/php3_unified_odbc.h =================================================================== RCS file: /repository/php3/functions/php3_unified_odbc.h,v retrieving revision 1.56 diff -u -r1.56 php3_unified_odbc.h --- functions/php3_unified_odbc.h 2000/01/01 04:44:10 1.56 +++ functions/php3_unified_odbc.h 2000/02/14 08:52:56 @@ -58,8 +58,7 @@ /* checking in the same order as in configure.in */ # if HAVE_SOLID -# include <cli0core.h> -# include <cli0ext1.h> +# include <cli0cli.h> # define HAVE_SQL_EXTENDED_FETCH 0 extern void php3_solid_fetch_prev(INTERNAL_FUNCTION_PARAMETERS); # if defined(UODBC_UNIQUE_NAMES) Configured with: ./configure \ --with-prefix=/usr \ --sysconfdir=/etc/php \ --localstatedir=/var \ --enable-versioning \ --with-apxs=/home/httpsd/sbin/apxs \ --with-system-regex \ --with-ftp \ --with-gd \ --with-ttf \ --with-db2 \ --with-xml \ --with-zlib \ --with-dbase \ --with-config-file-path=/etc/php \ --with-exec-dir=/home/httpsd/php \ --disable-debug \ --enable-bcmath \ --enable-force-cgi-redirect \ --with-solid=/opt/solid \ --enable-debug \ --enable-sysvsem \ --enable-sysvshm Apache version: apache-ssl-1.3.9_1.37-1 Program terminates with a SIGSEGV but this DOES NOT make it into the Apache logs. gdb backtrace of a httpsd -X: (gdb) bt #0 0x4044ea00 in ?? () #1 0x805d348 in make_sock () #2 0x805d736 in setup_listeners () #3 0x805e56a in standalone_main () #4 0x805ed7b in main () (gdb) When the --with-solid.. line is removed from the configure line apache with php3 runs whithout problems. I hope I've given enough information. Please contact me if there is anything missing. I didn't include a php.ini because it doesn't seem to get that far. Eric Veldhuyzen (eric@terra.nu) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3477&edit=1

« previous php.bugs (#21139) next »