Hi,
I'm trying to run a localhost web server for training purposes but I can't get it to work.
Firstly I installed Apache2, MariaDB, PHP7 phpmyadmin and wordpress from Yast. When I write localhost in firefox I get this:

That's ok, but when I type localhost/wp-admin to configure wordpress I get an error



Then I deleted all installed packages from Yast and started over installing via console following this guide

https://en.opensuse.org/SDB:LAMP_setup

In this case I have working apache2 and also MariaDB and phpMyAdmin. I create an empty database with my site name and a user for the database. I can't figure out where to install wordpress to make it work. I noticed that if I install wordpress from Yast it is installed in /srv/www and it's not working. I moved the /wordpress folder to /srv/www/htdocs and it also is not working.
Now I deleted all installed packages again from Yast and started over for third time this time installing XAMPP server. Again its not working. When i start all from XAMPP Control panel, I get this error for ProFTPD:

Code:
Starting all servers...
Starting MySQL Database...
/opt/lampp/mysql/scripts/ctl.sh : mysql  started at port 3306
Starting Apache Web Server...
/opt/lampp/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Exit code: 8
Stdout:
Checking syntax of configuration file
proftpd config test fails, aborting
Stderr:
linux-npks proftpd[3606]: warning: unable to determine IP address of 'linux-npks'
linux-npks proftpd[3606]: error: no valid servers configured
linux-npks proftpd[3606]: Fatal: error processing configuration file '/opt/lampp/etc/proftpd.conf'
That does't boder me much until I tried to change the new block wordpress editor with the classic one by installing the classic editor plugin. In this case I got a FTP login screen that I don't know what to do, because I didn't set up an FTP server and I don't need it.
So, I now will uninstall all again and please, can someone guide me to install a working wordpress environment on opensuse leap 15

Thanks in advance
Ilian