Ostatnie miałem nagłą awarię serwera apache2, nie wiem co się stało, bo pracował normalnie jakieś 3 miesiące. Po restarcie i aktualizacji nie wykonuje się na nim kod php. PHP jest zainstalowany w wersji 7.2. Sprawdzałem poleceniem: "php -v".
Polecenie: "service apache2 status". Macie jakieś rady jak sobie z tym poradzić i jak to skonfigurować?
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Tue 2020-08-18 01:01:24 UTC; 3s ago
Process: 5480 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
Process: 20416 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
Process: 5523 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 5536 (apache2)
Tasks: 6 (limit: 638)
CGroup: /system.slice/apache2.service
├─5536 /usr/sbin/apache2 -k start
├─5539 /usr/sbin/apache2 -k start
├─5540 /usr/sbin/apache2 -k start
├─5541 /usr/sbin/apache2 -k start
├─5542 /usr/sbin/apache2 -k start
└─5543 /usr/sbin/apache2 -k start
Aug 18 01:01:24 cenzura systemd[1]: Starting The Apache HTTP Server...
Aug 18 01:01:24 cenzura systemd[1]: Started The Apache HTTP Server.
Nie wiem co nagle wywaliło, może jakieś włamanie miałem, sprawdzałem logi, ale były puste. Nie zabezpieczałem portów na stronie, bo i tak praktycznie nikt na tą stronę nie będzie wchodził to się nie fatygowałem.