From owner-freebsd-ports Fri Feb 28 18:48:49 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5874537B401; Fri, 28 Feb 2003 18:48:47 -0800 (PST) Received: from www.gotbrains.org (www2.gotbrains.org [206.180.149.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CCE43F3F; Fri, 28 Feb 2003 18:48:46 -0800 (PST) (envelope-from clists@www.gotbrains.org) Received: from www.gotbrains.org (localhost [127.0.0.1]) by www.gotbrains.org (8.12.6/8.12.6) with ESMTP id h212mjIl031920; Fri, 28 Feb 2003 20:48:45 -0600 (CST) (envelope-from clists@www.gotbrains.org) Received: from localhost (clists@localhost) by www.gotbrains.org (8.12.6/8.12.6/Submit) with ESMTP id h212miYW031917; Fri, 28 Feb 2003 20:48:45 -0600 (CST) Date: Fri, 28 Feb 2003 20:48:44 -0600 (CST) From: Stephen Cravey To: ports@freebsd.org Cc: dirk@freebsd.org Subject: mod_php4.3.1 + CURL cores with apache13-modssl Message-ID: <20030228204239.X31300@www.gotbrains.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I seem to have discovered a problem with the mod_php4 4.3.1 port when it interacts with CURL and apache13-modssl port. When CURL support is compiled into php4 and the libssl/mod_ssl modules are loaded/added apache cores on startup. so basically, an 'apachectl startssl' result in : Feb 27 17:00:20 xxxxx /kernel: pid 12468 (httpd), uid 0: exited on signal 11 (core dumped) no other errors are generated other than a generic segfault message to STDERR. An 'apachectl start' seems to work fine. 'apachectl startssl' with php4.3.1 WITHOUT curl support starts fine. I believe that this may have something to do with a conflict between the openssl 'port' libraries apache-modssl uses and the freebsd 'contrib' openssl libraries that curl is using. I do not get an error when compiling curl, only mod_php4. I do not understand the linker well enough to fully understand where precicely the problem might lie. pertinent snippets of my httpd.conf are here: LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_module libexec/apache/mod_setenvif.so LoadModule php4_module libexec/apache/libphp4.so LoadModule ssl_module libexec/apache/libssl.so AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_php4.c AddModule mod_ssl.c php4 'make' with curl support during the curl support (not curl port) build section shows: /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libcurl.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libcurl.so, may conflict with libcrypto.so.3 My OS is: 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #0: Sun Feb 23 19:27:13 CST 2003 I'm running: apache+mod_ssl-1.3.27+2.8.12 mod_php4-4.3.1 openssl-0.9.7a curl-7.10.3_1 php4 has GD1, sockets and mysql support compiled in as well. Please, please help. I'm on a seriously tight deadline. -Stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message