tool to handle the administration of MySQL over the web
Project homepage: http://www.phpmyadmin.net/
Description
phpMyAdmin can manage a whole MySQL server (needs a super-user) as
well as a single database. To accomplish the latter you'll need a
properly set up MySQL user who can read/write only the desired database.
It's up to you to look up the appropriate part in the MySQL manual.
Package information
- Ports path
- www/phpmyadmin
- Package architecture
- *
- Maintainer
- Giovanni Bechis <giovanni@openbsd.org>
- Categories
- www, lang/php
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
- lang/php/8.3,-mysqli
- lang/php/8.3,-gd
- lang/php/8.3 php->=8.3,<8.4
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running phpMyAdmin on OpenBSD
+-----------------------------------------------------------------------
phpMyAdmin has been installed into ${INSTDIR}.
If using Apache, you can make this accessible to clients by enabling
mod_rewrite in ${SYSCONFDIR}/apache2/httpd2.conf, the mysql php module,
and the configuration file:
# ln -s ../modules.sample/phpmyadmin.conf /var/www/conf/modules/
# ln -s ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mysqli.ini \
${SYSCONFDIR}/php-${MODPHP_VERSION}/
# rcctl restart apache2
By default, this sets an alias for /phpMyAdmin and restricts access
to connections coming from localhost.
It also restricts access from search engine bots.
If you need to allow wider access, after considering security
implications, edit ${VARBASE}/www/conf/modules.sample/phpmyadmin.conf
and restart Apache.
You can check that you have a working installation by accessing:
http://localhost/phpMyAdmin/index.php
SECURITY WARNING
================
Be aware that phpMyAdmin is a frequently attacked target due to a
history of security problems. You are advised to restrict access to
trusted workstations or access it on localhost via an SSH tunnel.