공부하자/PHP

AH00558: apache2: Could not reliably determine the server's fully qualified domain name

YoBot 2018. 12. 6. 14:44

AH00558: apache2: Could not reliably determine the server's fully qualified domain name 에러 해결하기


문제의 에러

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message



해당 문제 해결하기

$sudo echo "ServerName $(cat /etc/hostname)" >> /etc/apache2/apache2.conf


문제 해결


아파치 재시작

$sudo service apache2 restart






'공부하자 > PHP' 카테고리의 다른 글

mysqli 테이블 값 삭제  (0) 2018.12.26
[PHP] 특수문자 및 원하는 문자 제거하기  (0) 2018.12.23
php.ini 간단하게 위치 찾기  (0) 2018.12.06
PHP 반복문  (0) 2018.11.28
php 파일 및 폴더 삭제하기  (0) 2018.11.28