From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 14:30:15 2005 Return-Path: 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 9BB9E16A4CE for ; Fri, 29 Apr 2005 14:30:15 +0000 (GMT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1847643D53 for ; Fri, 29 Apr 2005 14:30:14 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.44 #0 (FreeBSD 4.11-STABLE)) id 1DRWVP-000H0O-Gn by authid for ; Fri, 29 Apr 2005 17:30:11 +0300 Date: Fri, 29 Apr 2005 17:30:11 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20050429143011.GC55847@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org References: <1efd1aec05042907212dac8885@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1efd1aec05042907212dac8885@mail.gmail.com> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.9i (2005-03-13) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.9i Subject: Re: php5-extensions & php5-cli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 14:30:15 -0000 * Gavin Cameron [20050429 17:22]: wrote: > Hi all, > > Is there anyway using the ports to install php5-extensions & php5-cli? > > I've got php5-cli installed and when I try to install php5-extensions > I get the error: > > This port requires the Apache Module for PHP, but you have already > installed a conflicting PHP port without the Apache Module. > *** Error code 1 > > Now, installing php5-cli does appears to install the Apache module cause I have > a new libphp5.so in /usr/local/libexec/apache2 which correspond to the install > I just did of php5-cli and apache is quite happily serving out .php > files correctly. > > Am I doing something wrong? > > What is the easiest way to get php module, php CLI plus extensions installed > on one machine? With php4 (and I assume this is the same with php5): cd /usr/ports/lang/php5 && make WITH_APACHE2=yes install clean cd /usr/ports/lang/php5-extensions && make config && make install clean That has always worked for me with php4. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Even if you do learn to speak correct English, whom are you going to speak it to? -- Clarence Darrow