Kamis, 03 Oktober 2013

Restart Apache Via Command Line di Windows

BalonCoding mencoba melakukan restart Apache via command line dengan syntax seperti di bawah ini, 
httpd -k restart -n "Apache2.4"
Hasilnya,
AH00558: httpd: Could not reliably determine the server's fully qualified domain
 name, using fe80::93c:baad:80aa:f1a9. Set the 'ServerName' directive globally t
o suppress this message

Solusinya,

  1. edit file C:\Apache24\conf\httpd.conf
  2. cari "ServerName", edit agar menjadi 
    ServerName localhost
  3. ulangi perintah,
    httpd -k restart -n "Apache2.4"

Tidak ada komentar:

Posting Komentar