Date: Mon, 7 Feb 2005 18:55:34 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Pat Maddox <pergesu@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Unable to get phpMyAdmin working Message-ID: <20050207185534.GA703@gravitas.thebunker.net> In-Reply-To: <810a540e05020708397bd9c10e@mail.gmail.com> References: <810a540e0502070812378f1c54@mail.gmail.com> <597fa17762930ea8d79c0b2c55d16428@mac.com> <810a540e05020708397bd9c10e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dfoo MYADMGRP=3Dbar 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 --=20 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 --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iQCVAwUBQge5ppr7OpndfbmCAQKs7AP/U11eqbDh6Go1IuhvQRuWBq//5n6Awe66 LDQ0fnk130lWRBg4jIfqvyVYT4Oakiy4iIyajPmSSVHsHOsQa+VfWxTBgo5dZPv4 8Bnmx9W08TQSNtYUKcH+pTSIZjv0DZ/fDcWLnpioB0Cji8r30tM3qzoVl1rPnxeg s7IrLtK83vs= =Nfgl -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050207185534.GA703>