Dear jggimi,
Thanks for the advice. I applied "loopback" variable.
Quote:
do you have a working MariaDB server installed, provisioned, tested, and confirmed to be running?
|
Yes, I have tested it manually. From terminal I can reach to MariaDB server. I followed the instruction below.
https://blog.eldernode.com/install-m...-on-openbsd-7/
Anyways;
I applied all the things you've mentioned so far and they worked after a restart. I connected to localhost/phpMyAdmin. It directed me to login page. So it worked. But right now it seems that PHP is not working. I can reach to my html pages but can not reach to my php pages.
I did:
Code:
rcctl start httpd
rcctl start mysqld
rcctl start php80_fpm
But when I entered an address browser returns "File not found".
EDIT: I closed down the terminal and started all of the daemons again. Now server is working.
But there is an additional warning at localhost/phpMyAdmin
Code:
Warning in ./libraries/classes/Config.php#1761
mkdir(): Permission denied
Backtrace
./libraries/classes/Config.php#1761: mkdir(
string './tmp//twig',
integer 504,
boolean true,
)
./libraries/classes/Template.php#62: PhpMyAdmin\Config->getTempDir(string 'twig')
./libraries/classes/Template.php#102: PhpMyAdmin\Template->__construct(string 'login/header')
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#111: PhpMyAdmin\Template::get(string 'login/header')
./libraries/classes/Plugins/AuthenticationPlugin.php#247: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#353: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./index.php#27: require_once(./libraries/common.inc.php)