The fun fact is that apache seems to work perfectly
$sudo systemctl status httpd
> httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
Active: active (running) since Sun 2022-11-06 17:05:35 MSK; 9min ago
Main PID: 5291 (httpd)
Tasks: 7 (limit: 8242)
Memory: 8.9M
CPU: 134ms
CGroup: /system.slice/httpd.service
├─5291 /usr/bin/httpd -k start -DFOREGROUND
├─5293 /usr/bin/httpd -k start -DFOREGROUND
├─5294 /usr/bin/httpd -k start -DFOREGROUND
├─5295 /usr/bin/httpd -k start -DFOREGROUND
├─5296 /usr/bin/httpd -k start -DFOREGROUND
├─5297 /usr/bin/httpd -k start -DFOREGROUND
└─5329 /usr/bin/httpd -k start -DFOREGROUND
Nov 06 17:05:35 qwerty-inspiron5555 systemd[1]: Started Apache Web Server.
Nov 06 17:05:35 qwerty-inspiron5555 httpd[5291]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'Server>
same with mysql
$mysql
> Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 4
Server version: 10.9.3-MariaDB Arch Linux
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
403 Forbidden
The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action (e.g. creating a duplicate record where only one is allowed). This code is also typically used if the request provided authentication by answering the WWW-Authenticate header field challenge, but the server did not accept that authentication. The request should not be repeated.
Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
<Directory "/usr/share/webapps/phpMyAdmin">
DirectoryIndex index.php
AllowOverride All
Options FollowSymlinks
Require all granted
</Directory>
It’s been many, many, many moons since I’ve setup phpmyadmin last, so I might miss something new. However, this
…doesn’t look right to me. Please provide the output of:
sudo find / -type f -name 'phpmyadmin.conf'
Edit:
Quickly scanning through the instructions, shows me I’m correct:
You seem to have either skipped something, or chopped and changed it so much that it is not obviously where the problem lies.
I recommend starting from scratch and following the instructions to the letter. Not customizing anything to start with, just getting it to work first. And then, and only then changing/customizing as required.
Kinda strange, as i have made sudo nano /etc/httpd/conf/extra/phpmyadmin.conf
/etc/httpd/conf/extra/phpmyadmin.conf content:
Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
<Directory "/usr/share/webapps/phpMyAdmin">
DirectoryIndex index.php
AllowOverride All
Options FollowSymlinks
Require all granted
</Directory>
Just checked the guide, the paths are correct
I think its cuz conf/extra/phpmyadmin.conf is used from /etc/httpd/conf/httpd.conf (i mean etc/httpd folder)
It’s difficult to deduct what your issue is specifically.
The only cause I can think of is permission related - hence the 403 Forbidden and this leads me to think it is related ot the mariadb configuraiton.
For the exercise and verification of the guide you mentioned I tested this running a test environment based on xfce - and result is excatly as advertised.