Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 18:25:46 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Pollywog <lists-fbsd@shadypond.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installing/using phpMyAdmin
Message-ID:  <46C5DA1A.2040006@infracaninophile.co.uk>
In-Reply-To: <200708171532.14960.lists-fbsd@shadypond.com>
References:  <200708171532.14960.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Pollywog wrote:
> I am running FreeBSD 6.2 and I installed phpMyAdmin from ports, but when I put 
> http://hostname/phpMyAdmin in a browser, I get "the requested URL was not 
> found..."
> 
> Is some additional configuration required or is the problem that I can only 
> access phpMyAdmin from localhost?  I have not tried that yet so I don't know 
> if that would work either.

Yes, there is some more configuration to do.  First of all you need
to make phpmyadmin appear at an appropriate place in your web tree.
 That's what the package message is all about -- which you can see
again by:

    pkg_info -Dx phpMyAdmin

Note that you will need to /adapt/ the example to suit your own
requirements -- the 'Allow from' line in particular.  Remember to
reload apache so that it picks up the new configuration.

Once that stage is done you should be able to surf to
http://hostname/phpmyadmin and see a page generated by the
application.  Now you need to deal with the second bit of
configuration: modifying the example
/usr/local/www/phpmyadmin/config.inc.php (which is an essentially
empty file as installed by the port) to let you log into your
databases etc. etc.  This process is documented here:

    http://www.phpmyadmin.net/documentation/

You can either use the configuration script, or just write your own
contents for config.inc.php

	Cheers,

	Matthew

- --
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxdoa8Mjk52CukIwRCBSQAJ9Lg3EuRso0J1kKviHPiHocBayjgwCfZDx1
xghd17T3qJYruJS6jemyiyQ=
=KDiW
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C5DA1A.2040006>