มณฑล พร้อมสันเทียะ
วันที่โพสต์: Nov 12, 2019 2:59:36 PM
วิธีแก้ apache บน web server จำลอง ทำงานช้าผิดปกติ
จากเว็บไซต์ https://moremeng.in.th/2013/05/why-apache-web-server-on-localhost-slowly.html
เปิด Notepad หรือ TextEditor อื่น
คลิกที่ File > Open
แล้วเข้าไปที่ C:\Windows\System32\drivers\etc
ดับเบิ้ลคลิกที่ไฟล์ hosts
ทำการแก้ไข เอา # ออก
จากเดิม
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
แก้เป็น
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
เมื่อเสร็จแล้วก็ Save As ไปไว้ที่ Document หรือ Download แล้วค่อย Cut ไปวางทับที่ C:\Windows\System32\drivers\etc\hosts
Restart