From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 09:16:34 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C86DB16A4CE for ; Tue, 8 Feb 2005 09:16:34 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7148043D1D for ; Tue, 8 Feb 2005 09:16:34 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id BF7F19776C; Tue, 8 Feb 2005 09:16:33 +0000 (GMT) Received: from gravitas.thebunker.net (localhost [127.0.0.1]) j189GS0W000669; Tue, 8 Feb 2005 09:16:28 GMT (envelope-from matthew@gravitas.thebunker.net) Received: (from matthew@localhost) by gravitas.thebunker.net (8.13.1/8.13.1/Submit) id j17IuEa1000876; Mon, 7 Feb 2005 18:56:14 GMT (envelope-from matthew) Date: Mon, 7 Feb 2005 18:55:34 +0000 From: Matthew Seaman To: Pat Maddox Message-ID: <20050207185534.GA703@gravitas.thebunker.net> Mail-Followup-To: Matthew Seaman , Pat Maddox , freebsd-questions@freebsd.org References: <810a540e0502070812378f1c54@mail.gmail.com> <597fa17762930ea8d79c0b2c55d16428@mac.com> <810a540e05020708397bd9c10e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <810a540e05020708397bd9c10e@mail.gmail.com> User-Agent: Mutt/1.5.7i cc: freebsd-questions@freebsd.org Subject: Re: Unable to get phpMyAdmin working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 09:16:34 -0000 --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--