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

Reply via email to