我在我的Ubuntu 16.04.1系统上安装了Apache2.
我也想在我的Web服务器上安装和激活PHP7.0.
我安装了php并试图激活Apache2中的模块.
重新启动服务器时,我得到:
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
Run Code Online (Sandbox Code Playgroud)
当我执行"systemctl status apache2.service时,我得到:
-- Unit apache2.service has begun starting up.
Jan 30 12:19:58 tom-450-a141ng apache2[29920]: * Starting Apache httpd web server apache2
Jan 30 12:19:58 tom-450-a141ng apache2[29920]: *
Jan 30 12:19:58 tom-450-a141ng apache2[29920]: * The apache2 configtest failed.
Jan 30 12:19:58 tom-450-a141ng apache2[29920]: Output of config test was:
Jan 30 12:19:58 tom-450-a141ng apache2[29920]: [Mon …Run Code Online (Sandbox Code Playgroud)