From owner-freebsd-questions Sun Jul 9 12:10:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from durango.picus.com (durango.picus.com [209.100.20.19]) by hub.freebsd.org (Postfix) with ESMTP id 4735C37BDA1 for ; Sun, 9 Jul 2000 12:10:33 -0700 (PDT) (envelope-from troy@picus.com) Received: from arcadia [209.100.20.198] by durango.picus.com (SMTPD32-5.05) id AD9911470096; Sun, 09 Jul 2000 15:08:09 -0400 Reply-To: From: "Troy Settle" To: "Jim Durham" , "Damon Hammis" Cc: "FreeBSD Questions" Subject: RE: Apache+PHP3 build problems Date: Sun, 9 Jul 2000 15:09:48 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <3962210D.9A12DE2B@w2xo.pgh.pa.us> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG PHP's default support for IMAP is rather crippled on FreeBSD boxes since I first tried to use it (3.2-RELEASE?). I've mentioned this, and gave examples to the person (Rasmus) who maintains the IMAP support in PHP, but he doesn't see it (presumably because he uses the build directory for IMAP instead of the installed libs/headers). What I've found works, is the php port (apache13-php or apache13 + mod_php3 ports). This has always been flawless, except the one time I tried to get IMAP working under mod_php4 (it just didn't work, and the port had other functionality missing, so I stick with 3.0.16 for now). For the ports, you need to get the ports collection. See /usr/share/examples/cvsup/ports-supfile (or some such) for details. You will need to install the cvsup-bin package (on the CDROM) in order to complete the process. Once you have the ports collection installed, you can simply do this for installing everything you need: cd /usr/ports/www/apache13 && make install clean cd /usr/ports/www/mod_php3 && make install clean Those 2 lines are all you need. Everything you could want for PHP3 will be brought in as a dependancy. Hope this helps, -- Troy Settle Network Analyst Picus Communications 540.633.6327 It's always a long day... 86400 doesn't fit into a short ** -----Original Message----- ** From: owner-freebsd-questions@FreeBSD.ORG ** [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jim Durham ** Sent: Tuesday, July 04, 2000 1:38 PM ** To: Damon Hammis ** Cc: FreeBSD Questions ** Subject: Re: Apache+PHP3 build problems ** ** ** Damon Hammis wrote: ** > ** > I recently tried doing an install of Apache with PHP and IMAP ** support and ** > here's what I discovered. ** > ** > First, PHP4 wouldn't work at all. ** > ** > Second, trying to compile everything on my own was a major ** pain in the butt ** > and also didn't work properly. ** > ** > I wound up using the apache13-php port to install the module for php, ** > figuring that I could build IMAP later on. When I did the ** install I was ** > given a menu asking me which modules I wanted to install into ** apache, php ** > and imap included. I selected those options and it did the ** > rest. Everything works great and I run Horde's IMP web mail ** program on it ** > without fail. ** > ** > Hope this helps. ** > ** > --Damon ** ** What version of FreeBSD are you using? This particular box is ** 3.3-RELEASE. ** It's the main server for my company, and I hadn't planned on doing an ** upgrade, as it's working just fine. There is no "apache13-php" port ** on the 3.3 CD. The system here at home is 3.4. There *is* a port there, ** which I tarred up and moved to the 3.3 box. It bombs out doing the ** patches. I looked at the current ports collection, and there is no ** apache-php3 there. ** ** BTW, how do you like IMP? I was going to try TWIG. I am now using ** Neomail, but thought that TWIG might be worth a try. That's why I ** need the IMAP support. ** -- ** Jim Durham ** ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org ** with "unsubscribe freebsd-questions" in the body of the message ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message