#問題
FreeBSDのブラウザ上で直にURL(http://<サーバのIPアドレス>/info.php)を打ち込み、PHPのサイトにアクセスしたいのですが、エラーが出てしまいました。どうすればこのエラーを解決できるか、わかる方回答お願いします。
#エラーの内容
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://<サーバのIPアドレス>/info.php
Connection to <サーバのIPアドレス> failed.
The system returned: (110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.
#Apacheのconfファイルの内容
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType text/html .php DirectoryIndex index.html index.htm index.php <FilesMatch ".php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch ".php$"> SetHandler application/x-httpd-php-source </FilesMatch> php.conf (END)
#http://<サーバのIPアドレス>アクセスした時のエラー
The following error was encountered while trying to retrieve the URL: http://<サーバのIPアドレス>
http://<サーバのIPアドレス>への接続に失敗しました。
システムが以下のエラーを返しました: (110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.
#Apacheリスタート時のメッセージ
Performing sanity check on apache24 configuration:
Syntax OK
Stopping apache24.
Waiting for PIDS: 873.
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
#info.phpの内容
<?php phpinfo();?>
#補足
FreeBSD11.1
Apache2.4.29
PHP5.6.32
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/03/10 07:31