From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 05:20:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E31C106567B for ; Wed, 7 Jan 2009 05:20:11 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id D72768FC13 for ; Wed, 7 Jan 2009 05:20:10 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 1503C34807; Wed, 7 Jan 2009 00:20:10 -0500 (EST) Received: from teddy.fas.com (c-76-26-198-188.hsd1.sc.comcast.net [76.26.198.188]) by mailbackend.panix.com (Postfix) with ESMTP id D899F24E9E; Wed, 7 Jan 2009 00:20:09 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LKQpt-00018B-00; Wed, 07 Jan 2009 00:20:09 -0500 Date: Wed, 7 Jan 2009 00:20:09 -0500 From: stan To: Steve Bertrand Message-ID: <20090107052009.GA3995@teddy.fas.com> Mail-Followup-To: Steve Bertrand , freebsd-questions@freebsd.org References: <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49641B26.3070905@ibctech.ca> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 00:06:13 up 240 days, 6:28, 1 user, load average: 0.09, 0.19, 0.09 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: PHP setup question 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: Wed, 07 Jan 2009 05:20:12 -0000 On Tue, Jan 06, 2009 at 10:01:58PM -0500, Steve Bertrand wrote: > stan wrote: > > On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > >> On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > >>> Clearly I am still confused. :-( > >>> > >>> I just duid as you sugested, and all went well untill I pushed the "Write > >>> Config" button at Step 2. At this point I was offered teh option fo > >>> downlaoding to the machine that I was running the web browser on this config > >>> file. Since this is where I got hung up last. I stoped to ask what I am doing > >>> wrong. If I download this file, and put it in the config directory, based > >>> upon previous behavior the setup process will refuse to run, because the > >>> config file exists. > >>> > >>> What basic misunderstanding do I ahve here? > > This thread represents an exmaple of exactly the problem I am facing. It > > appears as though this behavior can be triggered by running the wrong > > version of ampache. > > > > Can anyone confirm that the version in ports actually works? > > Stan, > > It appears as though you are bouncing off the walls to find a solution. Well. lets's see, I have been trying to gte it working since Saturday :-( > > Did you contact the appropriate list as prescribed by Kelly? It's unfortunately not a list, whcih I find intuitive, and useful, but one of those web base wiki sort of things. As you can see from another messahe, I posted teh problem there this mornimg. Zero replies since then. > > Can you document a well-defined approach in regards to the installation > methods you need to follow to reach the goal you are after? I am confused by this. Is this a request to be able to reproduce the probkem? If so, absolutely. > > If so, email it to the list, starting with your base OS version. I'll > help you out with a test platform if you can get things organized. OK, here goes: black# uname -a FreeBSD black.fas.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 19:11:47 EST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 ports of interest: ampache-3.4.3 mysql-client-5.0.75 mysql-server-5.0.75 apache-2.2.11 Once you have these installed add the folloowing lines to /usr/local/etc/apache22httpd.conf Order allow,deny Allow from all Alias /ampache "/usr/local/www/ampache" Edit /usr/local/www/ampache/config/ampache.cfg.php.dist and put doubel quotes around the names of the rss* bairables (to work around a known bug" Point your browser to the ampacge/install.php file the webserver for this machine. Complete step 1 of the install process Go to step 2, when you press "write config file" you will be prompted to download this fle instead (not cerrtain wh the directory it goes in is writbale by the www user). Donwload this file and install it as: /usr/local/www/ampache/config/ampache.cfg Try to proced to step 3. You should get an error message saying that Ampache is already configured (but it's not0. I beleive this is a repeatvle bug. Thanks for the help here. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.