Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1

From: Date: Fri, 01 Feb 2002 09:59:46 +0000
Subject: Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78756@lists.php.net to get a copy of this message
ID: 15275 Comment by: jojo-in-london@automatix.de Old Reported By: ms@gps-ulm.de Reported By: jojo-in-london@automatix.de Status: Open Bug Type: Apache related Operating System: SuSE Linux 7.1 Kernel 2.4.2 PHP Version: 4.1.1 New Comment: Worked out on the problem. The suggestion to step back to 4.0.6 does also not work. But I found the root of the problem. Those error-systems were glibc 2.1.x based. After upgrading to glibc 2.2.5 / and all other aditional tools (gcc to 2.95.3, binutils, automake, autoconf, gettext) everz this is reallz working fine again. Simply works. Perhaps drop a notice for other users ? mfG J. Sauer Previous Comments: ------------------------------------------------------------------------ [2002-01-31 10:14:27] jojo-in-london@automatix.de This is the config: ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --bindir=/usr/bin \ --libexecdir=/usr/lib/apache/modules \ --datadir=/home/fileserver/documents \ --sysconfdir=/etc/httpd \ --with-config-file-path=/etc/httpd/php.ini \ --localstatedir=/var \ --with-apxs=/usr/sbin/apxs \ --enable-ftp \ --with-ftp \ --enable-versioning \ --enable-tracking-vars \ --enable-url-includes \ --enable-sysvshm \ --enable-sysvsem \ --with-sapdb=/usr/sapdb/depend \ --with-gdbm \ --enable-trans-sid \ --enable-magic-quotes \ --enable-libgcc \ --enable-calendar \ --disable-mysql \ --with-mysql=no \ --with-gnu-ld \ --enable-ftp \ --with-ndbm \ --with-dbase \ --with-gettext \ --with-gd \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib-dir=/usr \ --enable-memory-limit Core Dump occour on start up. Last words off strace -f httpd ----------------------------------------------------- mprotect(0x4071a000, 56752, PROT_NONE) = 0 old_mmap(0x4071a000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x33000) = 0x4071a000 old_mmap(0x40726000, 7600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40726000 close(4) = 0 mprotect(0x40617000, 217088, PROT_READ|PROT_WRITE) = 0 mprotect(0x40617000, 217088, PROT_READ|PROT_EXEC) = 0 mprotect(0x4045c000, 1400832, PROT_READ|PROT_WRITE) = 0 mprotect(0x4045c000, 1400832, PROT_READ|PROT_EXEC) = 0 mprotect(0x40377000, 630784, PROT_READ|PROT_WRITE) = 0 mprotect(0x40377000, 630784, PROT_READ|PROT_EXEC) = 0 mprotect(0x401e5000, 1212416, PROT_READ|PROT_WRITE) = 0 mprotect(0x401e5000, 1212416, PROT_READ|PROT_EXEC) = 0 getpid() = 22607 getrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="KBDev1.uk-london", ...}) = 0 rt_sigaction(SIGRT_0, {0x40690f94, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x40690684, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x4069101c, [], 0x4000000}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0 munmap(0x4034d000, 13070) = 0 --- SIGSEGV (Segmentation fault) --- My rating: PHP 4.1.1 + Apache 1.3.22 + Linux 2.2.16 (Redhat 6.2/Cobalt Cube 3) + SapDB 7.3.00.18 is currently not usable. Workaround: Step Back to 4.0.6 mfG Juergen Sauer jojo@automatix.de jojo-in-london@automatix.de ------------------------------------------------------------------------ [2002-01-30 11:37:15] jojo@automatix.de PHP 4.1.1 & Apache 1.3.22 on Cobald Cube 3/Linux 2.2.16, has the same bug. Jojo ------------------------------------------------------------------------ [2002-01-29 08:46:18] ms@gps-ulm.de Line 224 of http.conf is : LoadModule php4_module libexec/libphp4.so ------------------------------------------------------------------------ [2002-01-29 08:34:27] bate@php.net Whats is the line 224 on httpd.conf? ------------------------------------------------------------------------ [2002-01-29 08:15:34] ms@gps-ulm.de Apache version = 1.3.20 mod_ssl version = 2.8.4 for apache 1.3.20 openssl version = 0.9.6c C-compiler = gcc version 2.95.2 19991024 (release) I have first installed openssl, then compiled and installed apache with mod_ssl support and then compiled PHP 4.1.1 from the official sources, configuring with the following options: $ ./configure --with-apxs=/usr/local/apache/current/bin/apxs \ --with-ftp --enable-versioning \ --enable-tracking-vars --enable-url-includes \ --enable-sysvshm --enable-sysvsem \ --with-config-file-path=/etc --without-mysql \ --with-sapdb=/opt/sapdb/interfaces/odbc This went through without problems,'make' and 'make install' worked also, however when i call apachectl to start the server it exits with this error message : Syntax error on line 224 of /usr/local/apache/1.3.20/conf/httpd.conf: Cannot load /usr/local/apache/1.3.20/libexec/libphp4.so into server: undefined symbol: pcre_malloc I've tried this with the latest CVS snapshot as well but no luck. Also, I've compiled php with different options but always with the same result... The weird thing is that I got this to work on another SuSE box with same kernel version (2.4.2). Am I lacking some package maybe? I wouldn't know which one, though. I read through the configure output carefully and it seems like everything necessary is there. Please help me out here! ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15275&edit=1

« previous php.dev (#78756) next »