I haven't heard from you regarding the warning.
Briefly, on a local virtual "lab" machine running OpenBSD 7.1-release, I:
- Installed phpMyAdmin-5.1.3p0. This installed pkg_info php-8.0.18 and php-mysqli-8.0.18 as dependencies.
- Installed mariadb-server-10.6.7p0v1.
- Ran mysql_install_db(1) as root to create the initial database in /var/mysql.
- Created the socket's directory structure and edited /etc/my.cnf as directed by /usr/local/share/doc/pkg-readmes/mariadb-server for chrooted daemons.
- Enabled and started mysqld with rcctl(8).
- Created a user and granted it all privileges with mysql(1), flushing privileges to enable immediate use.
- Enabled the mysqli extension with ln(1) as directed by /usr/local/share/doc/pkg-readmes/php-8.0.
- Enabled and started php80_fpm with rcctl(8).
- Created a simple httpd.conf that directs all .php files through the php-fpm socket:
Code:
server "lab" {
listen on * port 80
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
}
}
- Enabled and started httpd(8) with rcctl(8).
- I created a short `info.php` file in /var/www/htdocs that calls phpinfo(), then connected with my browser to http://lab/info.php to confirm that PHP's fpm was running correctly and the mysqli extension was available.
- Copied the /var/www/phpMyAdmin file structure to /var/www/htdocs.
- Pointed my browser to http://lab/phpMyAdmin/index.php, and logged in with the user I'd created.