데이터베이스
[ php ] AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::b5f6:60c5:4cf:3015. Set the 'ServerName' directive globally to suppress this message
mminky
2020. 12. 3. 21:59
728x90
[ 에러 ]
apache를 restart 하기 위해서
cmd창을 관리자 권한으로 실행한 후 명령어를 입력하였더니
다음과 같은 에러가 발생했습니다.
C:\WINDOWS\system32>httpd.exe -k restart
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::b5f6:60c5:4cf:3015. Set the 'ServerName' directive globally to suppress this message
[ 해결책 ]
우선 apache24 \ conf 디렉토리의 httpd.conf 파일을 메모장으로 엽니다.
ctrl + F 로 ServerName 을 검색합니다.
주석(#)을 지우고 localhost 혹은 127.0.0.1 을 입력합니다.
ServerName localhost
그리고 apache를 다시 restart합니다.
httpd.exe -k restart
에러없이 실행되는 것을 알 수 있습니다.
※ 제 글이 도움이 되었다면 공감 부탁드려요 ◡̈
반응형