Date: Sun, 9 Jul 2000 15:09:48 -0400 From: "Troy Settle" <troy@picus.com> To: "Jim Durham" <durham@w2xo.pgh.pa.us>, "Damon Hammis" <squirrel@hammis.com> Cc: "FreeBSD Questions" <FreeBSD-questions@FreeBSD.ORG> Subject: RE: Apache+PHP3 build problems Message-ID: <NIEBLEDADLBOBAJFKPHDGEJECAAA.troy@picus.com> In-Reply-To: <3962210D.9A12DE2B@w2xo.pgh.pa.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NIEBLEDADLBOBAJFKPHDGEJECAAA.troy>