From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 14:14:27 2006 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 549A416A41F for ; Fri, 13 Jan 2006 14:14:27 +0000 (GMT) (envelope-from algould@datawok.com) Received: from smtpauth07.mail.atl.earthlink.net (smtpauth07.mail.atl.earthlink.net [209.86.89.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id C24CF43D48 for ; Fri, 13 Jan 2006 14:14:26 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=grokwell.org) by smtpauth07.mail.atl.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1ExPhA-0004J1-FH; Fri, 13 Jan 2006 09:14:24 -0500 Date: Fri, 13 Jan 2006 08:14:28 -0600 From: "Andrew L. Gould" To: Crispy Beef Message-ID: <20060113081428.6afd6fe6@grokwell.org> In-Reply-To: <43C77A14.7090004@ntlworld.com> References: <20060113030322.5939bae3@grokwell.org> <43C76E56.9040306@messias.qhigh.com> <43C77A14.7090004@ntlworld.com> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bc432601eb0a633a8e9e694a11257fe854350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 Cc: freebsd-questions@freebsd.org, gandalf Subject: Re: php5 and apache2? -- Resolved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 14:14:27 -0000 On Fri, 13 Jan 2006 09:59:48 +0000 Crispy Beef wrote: > > I had the same problem before. I suppose you used portupgrade to > > install binary packages, right? > > The php5 package depends on apache13, this is why portupgrade > > installed apache13. > > You should deinstall php5 and apache13. Then refresh your ports > > tree. Finally, reinstall php5 from the ports: > > > > cd /usr/ports/lang/php5 > > make > > make install > > cd /usr/ports/lang/php5-extensions > > make > > make install > > Might also be a good idea to delete the php5 options file first too. > It's located here: > > /var/db/ports/php5/options > > There's one for php5-extensions too. > > Normally the settings in these files are taken from doing a 'make > config' so if you want to start totally from scratch you probably > want to ditch those too. > > Hope this helps a little. > > -- > Paul I rebooted and deleted the php options file. The packages for php5, php5-extensions and apache13 have been deleted. Apache2 is still installed. When I go to /usr/ports/lang/php5 and do 'make config', there is not an option for using apache2. When I do 'make', the port begins to make the apache13 port. The php5 MAKEFILE includes the line: USE_APACHE= 1.3+ Changing the "13+" in that line to "2+" breaks the MAKEFILE. Changing the line to "2.0+" works; but the port started building the version of apache2 that was already installed. I stopped the process, deleted the installed apache2 and executed the "make install clean" process in php5 again. Php5 and apache2 are now installed without apache13. I am now installing the extensions. Thanks for the help. Andrew Gould