Zaktualizowałem starą wersję PHP do najnowszej wersji php7, ale nie mogę uruchomić swoich usług.
systemctl restart apache2.service
Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.
Szczegóły statusu:
systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Mon 2016-01-04 13:58:17 IST; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 16666 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Jan 04 13:58:17 GCT022 apache2[16666]: *
Jan 04 13:58:17 GCT022 apache2[16666]: * The apache2 configtest failed.
Jan 04 13:58:17 GCT022 apache2[16666]: Output of config test was:
Jan 04 13:58:17 GCT022 apache2[16666]: apache2: Syntax error on line 140 of /etc/apache2...
Jan 04 13:58:17 GCT022 apache2[16666]: Action 'configtest' failed.
Jan 04 13:58:17 GCT022 apache2[16666]: The Apache error log may have more information.
Jan 04 13:58:17 GCT022 systemd[1]: apache2.service: control process exited, code=exit...s=1
Jan 04 13:58:17 GCT022 systemd[1]: Failed to start LSB: Apache2 web server.
Jan 04 13:58:17 GCT022 systemd[1]: Unit apache2.service entered failed state.
Jan 04 13:58:17 GCT022 systemd[1]: apache2.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
root@client022:/home/user22$ ^C
Teraz chcę przywrócić lub usunąć php7, że mogę zrobić maszynę użytkownika aktywną w starej wersji.