Sorry but i am new to Sysadmin stuff and really new to Linux (big noob) so i am asking you guys for help because i have no idea what is causing this (as i have already stated i am really new to Linux). I accidently removed (lucky me...) stuff with tasksel while trying to install GUI and then reinstalled some of them (atleast the ones i could remember). What i have right now is that apache2 fails to start:

![fails to start](https://i.stack.imgur.com/qBq3V.png)

and syntax error on line 146 of /etc/apache2/apache2.conf looks like

![this](https://i.stack.imgur.com/Wc4aW.png)

The third error in /etc/apache2/mods-enabled/php7.1.load looks like

![this](https://i.stack.imgur.com/dyzS1.png)
Indeed there is no such file as "libphp7.1" in /usr/lib/apache2/modules/ only "libphp8.1" (sorry about screenshots new here) can anyone please tell me what i should do now? Change config file from 7.1 to 8.1 or just install 7.1?