From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 16:40:38 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 3A9541065670 for ; Sat, 10 Jan 2009 16:40:38 +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 E84AE8FC17 for ; Sat, 10 Jan 2009 16:40:37 +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 2943034807; Sat, 10 Jan 2009 11:40:37 -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 0C645E47A; Sat, 10 Jan 2009 11:40:37 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LLgt2-0008A6-00; Sat, 10 Jan 2009 11:40:36 -0500 Date: Sat, 10 Jan 2009 11:40:36 -0500 From: stan To: Steve Bertrand Message-ID: <20090110164036.GA31237@teddy.fas.com> Mail-Followup-To: Steve Bertrand , freebsd-questions@freebsd.org References: <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> <20090107052009.GA3995@teddy.fas.com> <4964BD4A.4060300@ibctech.ca> <20090107213007.GA31144@teddy.fas.com> <49652559.3060804@ibctech.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49652559.3060804@ibctech.ca> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 05:59:06 up 241 days, 12:21, 1 user, load average: 0.02, 0.02, 0.00 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: Sat, 10 Jan 2009 16:40:38 -0000 On Wed, Jan 07, 2009 at 04:57:45PM -0500, Steve Bertrand wrote: > stan wrote: > > On Wed, Jan 07, 2009 at 09:33:46AM -0500, Steve Bertrand wrote: > >> stan wrote: > >> > >> I'll describe the test setup that I used within a VM to configure things > >> inline. The software does not necessarily match the version number > >> exactly to yours. > >> > > Thanks for puting in all this effort!! > > No problem. > > > $ ls -l /usr/local/www/ampache/config > > total 24 > > -r--r--r-- 1 www www 19352 Jan 5 16:38 ampache.cfg.php.dist > > -r--r--r-- 1 www www 141 Aug 31 02:20 motd.php.dist > > -r--r--r-- 1 www www 96 Aug 31 02:20 registration_agreement.php.dist > > $ > > > > Does this look corect? > > No. > > You did not put the downloaded ampache.cfg.php file in the > ampache/config directory. > > Your /usr/local/www/ampache/config should look like this: > > > testweb# ll /usr/local/www/ampache/config/ > total 46 > -r--r--r-- 2 www www 14 Aug 31 02:20 .htaccess > -rw-r--r-- 1 www www 19366 Jan 7 09:23 ampache.cfg.php > -r--r--r-- 2 www www 19352 Jan 7 09:19 ampache.cfg.php.dist > -r--r--r-- 2 www www 141 Aug 31 02:20 motd.php.dist > -r--r--r-- 2 www www 96 Aug 31 02:20 registration_agreement.php > > Note the ampache.cfg.php file. It is the one that I downloaded during > install to my local workstation. I then uploaded it back to the server, > and put it in the config directory per the documentation. > Right, I had not done that, this time yet. It's there now: -rw-r--r-- 1 root www 19363 Jan 8 05:57 ampache.cfg.php I had a busy week at work, and am just now getting back to this. If you want to see what I have, It's reachable at http://beachcave/net/ampache/ As it stnads, it is pretty much exactly the way the ports tree installed it except that I have put the double quotes around the rss variables in the /usr/local/www/ampacahe/config/ampache.conf.dst file. I think I must be missing something importnat about the configuration steps that are required using the web installer. I know that I am confused about the 3 different user levels (system Mysql, and Ampache, right?)> If you have any helpful sugestions, they would be greatly appreciated. -- 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.