![](/img/trans.png)
[英]Apache httpclient timeout on customers machine (I/O Exception caught when processing request: Connection timed out
[英]My apache server is running but when I go to webpage it says network connection timed out
我在樹莓派上使用 LAMP 服務器,而我的 apache 服務器已停止顯示網站(頁面)。
我已經嘗試重新啟動服務器,我的整個 Pi 是 rasperry pi 3,apache 版本是 2.0,燈服務器的其他組件正在工作
我在終端輸入了這個命令
sudo apache2
它給了我這個:
[Sun Dec 23 10:38:11.948939 2018] [core:warn] [pid 2061] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
您必須使用它的服務啟動它,而不是直接使用它的可執行文件。
sudo systemctl start apache2
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.