Re: phpMyAdmin directory (newbie question)
Someone, quite probably Grant Cooper, once wrote: You should send this to '[EMAIL PROTECTED]' mailing list. You will get a better answer. You can do one of two things. Copy the files structure, /phpMyAdmin to /usr/local/www/data-dist or create a symbolic link. I would re-read the instructions, it tells you what to do. The symbolic link may get you into trouble for security reasons. The easiest way is probably to just install it from ports using the PREFIX variable: # make PREFIX=/usr/local/www/data-dist install clean That puts phpMyAdmin in /usr/local/www/data-dist right from the start. No copying, no linking, no hassle. - Original Message - From: Richard Biffl [EMAIL PROTECTED] To: [EMAIL PROTECTED] I'm setting up a FreeBSD server for the first time. When I installed Apache, it created a /usr/local/www/data-dist directory, with www/data as an alias (symlink?). I then installed PHP, then phpMyAdmin, and it installed in /usr/local/www/data.default/phpMyAdmin. I understand that the phpMyAdmin directory should be below www/data. Should I change www/data so it points to www/data.default instead of www/data-dist, or break the link from www/data to www/data-dist and/or copy www/data.default/phpMyAdmin into www/data? I don't want to stray too far from the vanilla installation, but I must be missing a step here. You could also create aliases in /usr/local/etc/apache/httpd.conf like this: Alias /phpMyAdmin//usr/local/www/data.default/ That leaves all the ports installed in very much their default locations, you're just telling apache where to look. Kevin -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: phpMyAdmin directory (newbie question)
On Wed, Oct 23, 2002 at 02:00:32PM +0100, Kevin Golding wrote: The easiest way is probably to just install it from ports using the PREFIX variable: # make PREFIX=/usr/local/www/data-dist install clean That puts phpMyAdmin in /usr/local/www/data-dist right from the start. No copying, no linking, no hassle. You will find that: make MYADMDIR=/usr/local/www/data-dist/phpMyAdmin install gives better results for this package. This will however run into the problem that the /usr/local/www/data-dist directory and contents will be deleted if you ever update your apache port. You're really meant to break the data - data-dist link and create your own /usr/local/www/data directory if you are going to install your own website: cd /usr/local/www rm data mkdir data cd /usr/ports/databases/phpmyadmin make MYADMDIR=/usr/local/www/data/phpMyAdmin install Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: phpMyAdmin directory (newbie question)
gives better results for this package. This will however run into the problem that the /usr/local/www/data-dist directory and contents will be deleted if you ever update your apache port. You're really meant to break the data - data-dist link and create your own /usr/local/www/data directory if you are going to install your own website: Yes, exactly Matthew. I've been meaning to post this, as I was truly bitten by it a few months ago. Upgrading the Apache port with completely remove the default data folder, *without any warning*. Poof - your entire site is gone. So don't use data-dist. -- Jonathan Arnold (mailto:jdarnold;buddydog.org) The Incredible Brightness of Seeing, a Home Theater weblog http://www.anaze.us/HomeTheater To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: phpMyAdmin directory (newbie question)
On Tue, Oct 22, 2002 at 02:34:23PM -0400, Richard Biffl wrote: I'm setting up a FreeBSD server for the first time. When I installed Apache, it created a /usr/local/www/data-dist directory, with www/data as an alias (symlink?). I then installed PHP, then phpMyAdmin, and it installed in /usr/local/www/data.default/phpMyAdmin. I understand that the phpMyAdmin directory should be below www/data. Should I change www/data so it points to www/data.default instead of www/data-dist, or break the link from www/data to www/data-dist and/or copy www/data.default/phpMyAdmin into www/data? What I did was just copy phpMyAdmin into /usr/local/www/data. I don't think that breaks anything, and I don't see much benefit in messing with lots and lots of symlinks just to keep data, data-dist, data-dist.default and data.default...just my POV. I don't want to stray too far from the vanilla installation, but I must be missing a step here. You could also unlink data from data-dist and make data its own directory, keeping everything apache installed in data-dist. Thus you do not break any scripts that rely on www/data and you can keep the installation as clear as possible. Or you could change the DocumentRoot variable to something completely different, I think it is just a matter of personal preference (and lazyness :)). HTH regards -- Andreas ant Ntaflos [EMAIL PROTECTED] Vienna, AUSTRIA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
phpMyAdmin directory (newbie question)
I'm setting up a FreeBSD server for the first time. When I installed Apache, it created a /usr/local/www/data-dist directory, with www/data as an alias (symlink?). I then installed PHP, then phpMyAdmin, and it installed in /usr/local/www/data.default/phpMyAdmin. I understand that the phpMyAdmin directory should be below www/data. Should I change www/data so it points to www/data.default instead of www/data-dist, or break the link from www/data to www/data-dist and/or copy www/data.default/phpMyAdmin into www/data? I don't want to stray too far from the vanilla installation, but I must be missing a step here. Richard To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: phpMyAdmin directory (newbie question)
You should send this to '[EMAIL PROTECTED]' mailing list. You will get a better answer. You can do one of two things. Copy the files structure, /phpMyAdmin to /usr/local/www/data-dist or create a symbolic link. I would re-read the instructions, it tells you what to do. The symbolic link may get you into trouble for security reasons. - Original Message - From: Richard Biffl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 11:34 AM Subject: phpMyAdmin directory (newbie question) I'm setting up a FreeBSD server for the first time. When I installed Apache, it created a /usr/local/www/data-dist directory, with www/data as an alias (symlink?). I then installed PHP, then phpMyAdmin, and it installed in /usr/local/www/data.default/phpMyAdmin. I understand that the phpMyAdmin directory should be below www/data. Should I change www/data so it points to www/data.default instead of www/data-dist, or break the link from www/data to www/data-dist and/or copy www/data.default/phpMyAdmin into www/data? I don't want to stray too far from the vanilla installation, but I must be missing a step here. Richard To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message