Warning: The magic method InvisibleReCaptcha\MchLib\Plugin\MchBasePublicPlugin::__wakeup() must have public visibility in /home/c9673876/public_html/shimaichi.blog/wp-content/plugins/invisible-recaptcha/includes/plugin/MchBasePublicPlugin.php on line 37
Apache httpdでエラー!AH00558|島一ブログ
CentOS

CentOS 7.9 Apache httpdでエラー!AH00558

こんなエラーが出た人への対応方法

AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using localhost.localhost. Set the ‘ServerName’ directive globally to suppress this message

実際にエラーが出たコマンド

[root@localhost ~]# httpd -V | head -n 1
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localhost. Set the 'ServerName' directive globally to suppress this message
Server version: Apache/2.4.6 (CentOS)

[root@localhost ~]#

対応方法

下記のように(localhost.localhost:80)ポート番号をつけると解消されます。

[root@localhost ~]# hostnamectl set-hostname localhost.localhost:80
[root@localhost ~]#
インフラエンジニアを目指す方へ

COMMENT

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA