Unable to get phpMyAdmin working

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Feb 8 01:16:34 PST 2005


On Mon, Feb 07, 2005 at 09:39:36AM -0700, Pat Maddox wrote:
> I managed to get it working by chowning the entire phpMyAdmin dir to
> www:www.  Not sure if that's the best thing, but it works.

Well, if it works for you.  By default the port installs
config.inc.php owned by root:www mode 640, so if your webserver is
running (as it usually does) as www:www then it should be able to read
the file.  If you install WITH_SUPHP as the www user and the www
group.

However, if you use a different UID/GID for your webserver, you can
override those settings by:

    # make install MYADMUSR=foo MYADMGRP=bar

Note that the config.inc.php file potentially contains database
passwords so you should be a bit careful about not letting the whole
world read it.

      Cheers,

      Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050207/946c47e4/attachment.bin


More information about the freebsd-questions mailing list