From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 20:21:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9A00D16A41F for ; Wed, 10 Aug 2005 20:21:17 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2932043D48 for ; Wed, 10 Aug 2005 20:21:17 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so129735nzo for ; Wed, 10 Aug 2005 13:21:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:reply-to:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:from; b=ctS7+alYngexDh8494krxQa0s61gqLZ+N4s2lkhqKWdL2OHy51PFKPeank2SaY86wTsY7pOrnH6UIqkwG4l6ljW21/WMcZuenXKHji4MfpsX1WqbX58m2cg7MD+6d720psWDURFH/RSloBWJgY1kqrun0p9VrPAkwRlCeduJyNE= Received: by 10.36.133.13 with SMTP id g13mr896667nzd; Wed, 10 Aug 2005 13:21:16 -0700 (PDT) Received: from stargate.akparadise.com ([209.124.141.64]) by mx.gmail.com with ESMTP id 15sm299484nzn.2005.08.10.13.21.15; Wed, 10 Aug 2005 13:21:16 -0700 (PDT) Organization: NorthWind Communications To: freebsd-questions@freebsd.org Date: Wed, 10 Aug 2005 12:21:08 -0800 User-Agent: KMail/1.8.1 References: <42FA5EE6.1000500@charter.net> In-Reply-To: <42FA5EE6.1000500@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508101221.09223.alaska@vfemail.net> From: Beecher Rintoul Subject: Re: Can't install php5-apache20 combination X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alaska@vfemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 20:21:17 -0000 On Wednesday 10 August 2005 12:09 pm, bob self wrote: > I have a new installation of 5.4-RELEASE and am trying to get apache2 > with php5 support installed. > No luck so far. In what order should I do this? I've tried this: > > *portupgrade -vN php5* > These are the options that I selected > > APACHE2 (yes. I changed this from 'no') > DEBUG (no) > MULTIBYTE (no) > IPV6 (yes. It was the default) > > *portupgrade -vN php5-extensions* > I selected the following additional options (I've used gd, imagick, > etc in the past with php, so I'll be wanting these. > Does it hurt to just select all options in case you might need them > later?) > > BZ2 > CALENDAR > CURL > GD > IMAGICK > MYSQL > NCURSES > PDF > READLINE > ZIP > ZLIB > > > That seemed go ok, but my phpinfo() does not show anything about mysql, > which is the main php support that I'm trying to get. > Then I tried this: > > *portupgrade -vN apache20* > > But I get an error message "No such installed package or port: > apache20", which exists in /usr/ports/www/apache20. > > > I uninstalled php5 to start over. > > So, how can I install apache2 with php5 and the necessary extensions? Is > there a way just install apache20 and make the > installation install whatever you need, including php5 in the right order? > > thanks, > Bob > > Since you have apache installed, install /usr/ports/www/mod_php5 That will do what you want. Beech --------------------------------------------------------------------------------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ ---------------------------------------------------------------------------------------