Apache startet nicht mehr seit PHP7 Installation

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
falko1985
Beiträge: 4
Registriert: 15.02.2017 02:34:58

Apache startet nicht mehr seit PHP7 Installation

Beitrag von falko1985 » 15.02.2017 02:56:06

Hallo,
ich besitze einen Root Server mit Debian 8.5 und hatte PHP5 drauf und wollte jetzt PHP7 Installieren und nun startet Apache nicht mehr.

Hier ist die Anleitung, diese ich benutzt habe um PHP7 zu Installieren:
https://ansas-meyer.de/programmierung/p ... uglich-ist

Wenn ich den Apache Server starten möchte, dann erhalte ich folgende fehlermeldung:

Code: Alles auswählen

Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
dann habe ich das hier mal eingegeben:

Code: Alles auswählen

journalctl -xn
und erhalte diese Meldung:

Code: Alles auswählen

-- Logs begin at Mi 2017-02-15 02:08:10 CET, end at Mi 2017-02-15 02:48:40 CET. --
Feb 15 02:48:40 apache2[28127]: The apache2 configtest failed. ... (warning).
Feb 15 02:48:40 apache2[28127]: Output of config test was:
Feb 15 02:48:40 apache2[28127]: AH00112: Warning: DocumentRoot [/usr/share/psa-horde] does not exist
Feb 15 02:48:40 apache2[28127]: AH00526: Syntax error on line 29 of /etc/apache2/plesk.conf.d/horde.conf:
Feb 15 02:48:40 apache2[28127]: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
Feb 15 02:48:40 apache2[28127]: Action 'configtest' failed.
Feb 15 02:48:40 apache2[28127]: The Apache error log may have more information.
Feb 15 02:48:40 systemd[1]: apache2.service: control process exited, code=exited status=1
Feb 15 02:48:40 systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
Wenn ich die Config teste mit:

Code: Alles auswählen

sudo apache2ctl configtest
dann erhalte ich folgende Meldung:

Code: Alles auswählen

AH00112: Warning: DocumentRoot [/usr/share/psa-horde] does not exist
AH00526: Syntax error on line 29 of /etc/apache2/plesk.conf.d/horde.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
root@h2502654:~# AH00112: Warning: DocumentRoot [/usr/share/psa-horde] does not exist
-bash: AH00112:: Kommando nicht gefunden.
root@h2502654:~# sudo apache2ctl configtest
AH00112: Warning: DocumentRoot [/usr/share/psa-horde] does not exist
AH00526: Syntax error on line 29 of /etc/apache2/plesk.conf.d/horde.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
Wie kann ich das Problem denn beheben?

Ich bedanke mich schon mal im Voraus.

Edit:Ich hab es hinbekommen, hab einfach Apache2 neu installiert.

Gruss

Antworten