I just installed php and apache2 server from this tutorial
https://computingforgeeks.com/how-to-install-latest-php-on-debian/
but I cannot run php-scripts - the server seems to be down since localhost in url wont work
According to the php.ini file engine is ON
engine = On
Right now I cannot find which port the server is listening on in the ini-file but I guess its 80?
If write apache2 in the terminal it responds
apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
the path is not the same, on my system the pat is
/etc/apache2/mods-available/
and there are two files:
php7.4.conf
php7.4.load
So - how could I start the server or at the least get a grasp of whats wrong?
sudo ss -tnpl