phpmyadmin – 更新版本後,重啟 Apache 發生錯誤 (Job for apache2.service failed because the control process exited with error code.)

Ubuntu 16 重啟系統 service apache2 restart 報錯
1 2 3 4 |
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. |
於是下指令查看問題
1 2 3 |
systemctl status apache2.service |
發現提示如下圖
發現原來是我的 /etc/phpmyadmin/apache.conf 的第 4 行設定錯誤 (我用了兩個別名),於是使用
1 2 3 |
vim /etc/phpmyadmin/apache.conf |
修改我的檔案以後,重新啟動 Apache 就沒問題了~