From owner-freebsd-questions@FreeBSD.ORG Thu Jun 21 09:31:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19BF816A41F for ; Thu, 21 Jun 2007 09:31:03 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 94C5813C46A for ; Thu, 21 Jun 2007 09:31:02 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-AV: E=Sophos;i="4.16,447,1175437800"; d="scan'208";a="146474871" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail01.adl2.internode.on.net with ESMTP; 21 Jun 2007 19:00:59 +0930 Message-ID: <467A4551.8070400@careytech.com.au> Date: Thu, 21 Jun 2007 19:30:57 +1000 From: Ivan Carey User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: jackbarnett@gmail.com References: <467763C3.306@gmail.com> <46778398.7080506@careytech.com.au> <4679DAB3.2010403@gmail.com> <789A8BE7-818A-4685-9B88-2E35F2A5CF3B@gmail.com> <467A1969.6090703@gmail.com> <467A19EA.3000002@gmail.com> <467A1D4D.5080605@gmx.de> <467A3711.6050701@gmail.com> In-Reply-To: <467A3711.6050701@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Crist , "\[LoN\]Kamikaze" , freebsd-questions@freebsd.org Subject: Re: Apache, php? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2007 09:31:03 -0000 Jack Barnett wrote: > [LoN]Kamikaze wrote: >> Jack Barnett wrote: >> >>> Jack Barnett wrote: >>> >>>> Eric Crist wrote: >>>> >>>> >>>>> On Jun 20, 2007, at 8:56 PMJun 20, 2007, Jack Barnett wrote: >>>>> >>>>> >>>>>> Ivan Carey wrote: >>>>>> I don't have libphp5.so anywhere in /usr/local (did a find for >>>>>> it). >>>>>> the php5 port is broken? Or do I have to reinstall apache after >>>>>> php5? >>>>>> >>>>>> >>>>> You need to enable build of the php5 apache extension when you build >>>>> the port - it's not enabled by default. >>>>> >>>>> HTH >>>>> >>>>> Eric Crist >>>>> >>>> thanks. >>>> >>>> do you know how to do that off hand? :) :) >>>> >>>> >>>> >>>> >>> disregarding... rebuilding now, I edited the Makefile >>> >> >> Ouch. >> >> Just for the record: >> # cd /usr/ports/lang/php5 >> # make config >> Select the APACHE option. >> # make build deinstall reinstall clean >> > > Yea, for some reason it's not giving me that menu... to configure it. > > Most ports used to have any option... to configure stuff... in that > nice text based interface. > > I got BATCH=YES in make.conf so that's probably why! > > Anyways, I manually edited the Makefile and recompiled. That is > WORKING :) > > Manually fooling around with that file will probably bust something up > down the road if I have to reinstall, but for now I'm happy. It's all > working. > > Thanks everyone for your help. > > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > . > Jack, When I want a system with Apache PHP and MySQL. I install them in the following order. 1. Install Apache 2. Install PHP via /usr/lang/php5-extensions (select the extensions you want, this will install php5 and add the required lines to the httpd.conf) 3. Install MySQL Regards, Ivan