forked from Lainports/freebsd-ports
- Update databases/phpmyadmin to 4.0.0
Version 4.0.0 is the first release of a new major version, and
involves some significant changes in functionality. In particular it
now requires Javascript in order to operate.
Provide a new phpmyadmin35 port to track the 3.5.x branch for those
not wishing to upgrade yet. Note that you will have to adjust your
httpd.conf if you switch to this port, as it installs the application to
${LOCALBASE}/www/phpMyAdmin35
29 lines
935 B
Text
29 lines
935 B
Text
|
|
%%PKGNAME%% has been installed into:
|
|
|
|
%%WWWDIR%%
|
|
|
|
Please edit config.inc.php to suit your needs.
|
|
|
|
To make phpMyAdmin available through your web site, I suggest
|
|
that you add something like the following to httpd.conf:
|
|
|
|
Alias /phpmyadmin/ "%%WWWDIR%%/"
|
|
|
|
<Directory "%%WWWDIR%%/">
|
|
Options none
|
|
AllowOverride Limit
|
|
|
|
Order Deny,Allow
|
|
Deny from all
|
|
Allow from 127.0.0.1 .example.com
|
|
</Directory>
|
|
|
|
SECURITY NOTE: phpMyAdmin is an administrative tool that has had several
|
|
remote vulnerabilities discovered in the past, some allowing remote
|
|
attackers to execute arbitrary code with the web server's user credential.
|
|
All known problems have been fixed, but the FreeBSD Security Team strongly
|
|
advises that any instance be protected with an additional protection layer,
|
|
e.g. a different access control mechanism implemented by the web server
|
|
as shown in the example. Do consider enabling phpMyAdmin only when it
|
|
is in use.
|