Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2009 00:20:09 -0500
From:      stan <stanb@panix.com>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PHP setup question
Message-ID:  <20090107052009.GA3995@teddy.fas.com>
In-Reply-To: <49641B26.3070905@ibctech.ca>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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  

<Directory "/usr/local/www/ampache/">
    Order allow,deny
	Allow from all
	</Directory>

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090107052009.GA3995>