From owner-freebsd-questions Fri Nov 8 10:54:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E36C337B401 for ; Fri, 8 Nov 2002 10:54:32 -0800 (PST) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 7958643E4A for ; Fri, 8 Nov 2002 10:54:31 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: (qmail 22396 invoked from network); 8 Nov 2002 18:54:29 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 8 Nov 2002 18:54:29 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 05D0B2FDAB2; Fri, 8 Nov 2002 19:54:28 +0100 (CET) Date: Fri, 8 Nov 2002 19:54:27 +0100 From: Roman Neuhauser To: freebsd-questions Subject: Re: PTHREADS install on 4.7 Message-ID: <20021108185427.GB326@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions References: <012a01c28313$83d225c0$6501a8c0@C2KTISISWIN> <20021103095236.GC6919@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103095236.GC6919@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # m.seaman@infracaninophile.co.uk / 2002-11-03 09:52:36 +0000: > On Sun, Nov 03, 2002 at 12:32:13AM -0800, Peter Black wrote: > > I have been running into problems getting Apache 2.0.43 to work with PHP > > 4.2.3 as a module. The following is the error I get ... > > > > "Cannot load /usr/local/APACHE/modules/libphp4.so into server: > > /usr/local/APACHE/modules/libphp4.so: Undefined symbol > > "pthread_getspecific" > > pthread_getspecific() is a standard POSIX.1 function that comes with > FreeBSD already. In general, to use pthreads in programs, all that is > needed is to compile using the '-pthreads' flag to cc(1). If you > compile from ports, all that sort of thing should be set up correctly > for you. You can install mod_php4 with apache2 from ports by: > > cd /usr/ports/www/mod_php4 > make -DWITH_APACHE2 install > > Note too that you may occasionally need to rebuild mod_php4 if you > update apache2. also note that Apache-2 / PHP is a combination completely unsupported by the PHP developers. if you have mysterious problems with applications otherwise known to run fine, you've been warned. -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message