|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-29 08:15 UTC] ms at gps-ulm dot 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! PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 05:00:01 2025 UTC |
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