Package: libapache2-mod-php7.0
Version: 7.0.1-4
# systemctl -l status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 三 2016-01-06 05:31:13 CST; 56s ago
Docs: man:systemd-sysv-generator(8)
Process: 2337 ExecStart=/etc/init.d/apache2 start (code=exited,
status=1/FAILURE)
1月 06 05:31:13 jidanni2 apache2[2337]: Starting web server: apache2 failed!
1月 06 05:31:13 jidanni2 apache2[2337]: The apache2 configtest failed. ...
(warning).
1月 06 05:31:13 jidanni2 apache2[2337]: Output of config test was:
1月 06 05:31:13 jidanni2 apache2[2337]: apache2: Syntax error on line 140 of
/etc/apache2/apache2.conf: Syntax error on line 1 of
/etc/apache2/mods-enabled/php5.load: Cannot load
/usr/lib/apache2/modules/libphp5.so into server:
/usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such
file or directory
1月 06 05:31:13 jidanni2 apache2[2337]: Action 'configtest' failed.
1月 06 05:31:13 jidanni2 apache2[2337]: The Apache error log may have more
information.
1月 06 05:31:13 jidanni2 systemd[1]: apache2.service: Control process exited,
code=exited status=1
1月 06 05:31:13 jidanni2 systemd[1]: Failed to start LSB: Apache2 web server.
1月 06 05:31:13 jidanni2 systemd[1]: apache2.service: Unit entered failed state.
1月 06 05:31:13 jidanni2 systemd[1]: apache2.service: Failed with result
'exit-code'.