View Single Post
  #3   (View Single Post)  
Old 29th May 2022
gordon.f gordon.f is offline
Fdisk Soldier
 
Join Date: Oct 2021
Location: Europe
Posts: 60
Default

Dear jggimi,

Thanks for the reply.

Quote:
httpd.conf(5). Don't provision the loopback network interface as an "external" interface. You'll confuse us ... and possibly confuse yourself. The loopback network interface is an internal loop on your network stack. Hence its name. (Yes, OpenBSD can redirect traffic in and out of this pseudo network interface with pf(4), but let's not get tangled in those weeds. Please.)
Well, excuse my illiteracy on OpenBSD. I just found that working, so continued with that. If you can provide a code block in order to substitute it, that'd be great.

Quote:
PHP. There are multiple versions of PHP in the ports/packages system. Each version requires installation and provisioning of matching-version "extensions" for select extended services. One of those extensions is php-mysqli, the MySQL / MariaDB database extension for PHP. It's missing, and needs to be both installed via pkg_add(1), and then provisioned via ln(1), as described in /usr/local/share/doc/pkg-readmes/php-<your installed release of php>.
mysqli is actually installed.
Code:
php-mysqli-7.3.28
php-mysqli-7.3.29
php-mysqli-7.3.30
php-mysqli-7.4.18
php-mysqli-7.4.19
php-mysqli-7.4.20
php-mysqli-7.4.21
php-mysqli-7.4.22
php-mysqli-7.4.23 (installed)
php-mysqli-8.0.10 (installed)
php-mysqli-8.0.5
php-mysqli-8.0.6
php-mysqli-8.0.7
php-mysqli-8.0.8
php-mysqli-8.0.9
and as you pointed out I did this:
Code:
ln -sf /etc/php-8.0.sample/mysqli.ini /etc/php-8.0/
The result is same as the former one.

My assumption is that there is a missing part in my httpd.conf file. If you ask me "how do you know that?", in the link below there is a configuration for nginx.
https://nixbsd.wordpress.com/2014/11...min-and-nginx/

Of course nginx and httpd could be different but it seems like I missed some part related to phpmyadmin in my httpd.conf file.
Reply With Quote