我无法重新启动 apache2 服务。我执行这个命令apache2ctl configtest并显示以下错误:
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/php7.0.load: Cannot load /usr/lib/apache2/modules/libphp7.0.so into server: /usr/lib/apache2/modules/libphp7.0.so: cannot open shared object file: No such file or directory\nAction 'configtest' failed.\nThe Apache error log may have more information.\nRun Code Online (Sandbox Code Playgroud)\n\n当我执行 apache2 服务启动命令时,它显示以下错误:
\n\napache2.service - The Apache HTTP Server\n Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)\n Drop-In: /lib/systemd/system/apache2.service.d\n \xe2\x94\x94\xe2\x94\x80apache2-systemd.conf\n Active: failed (Result: exit-code) since Sat 2018-10-27 21:39:15 IST; 14s ago\n Process: …Run Code Online (Sandbox Code Playgroud)