Apache XAMPP Tidak Bisa Start di Laptop / PC Windows 8
Minggu kemarin ada rekan kantornya istri minta tolong untuk diinstal kan Wordpress di Localhost dengan XAMPP, bilangnya sih untuk tugas kuliah. Awalnya dia pede install sendiri, tapi setelah install error katanya, XAMPP nya ga bisa jalan start dan muncul tulisan merah pada notifikasi di bawahnya seperti ini

Error: Apache shutdown unexpectedly
This my be due to a blocked port, missing dependencies,
improver privileges, a crash, or a shutdown by another method.
Press the log button to view error logs anda check
the window event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums.
Saya cek laptop yang dipakai menggunakan OS Windows 8.1. Dan seingat saya Windows 8 itu terdapat localhost atau port 80 yang telah terpakai oleh Internet Information Service (IIS) gitu. Saya cek ternyata benar dibrowsernya ketik localhost muncul seperti di bawah.
Pertama sih saya coba untuk disable IIS nya, tapi ternyata setelah restart laptopnya IIS nyala lagi. Jadi percuma saja. :) Solusi terbaik yaitu mengganti port localhost 80 XAMPP ke port baru. Karena port 80 telah terpakai oleh IIS. Berikut cara mengatasi Apache XAMPP Tidak Bisa Start di Laptop / PC Windows 8 :
- Buka XAMPP nya atau control panelnya
- Ke Config -> Apache (httpd.conf). Kita cari dan edit
Listen 80 menjadi Listen 8080
lalu
ServerName localhost:80 menjadi ServerName localhost:8080 (jika disitu adanya ServerName www.example.com:80, rubah www.example.com ke localhost ya) - Kemudian ke Config lagi -> Apache (httpd-ssl.conf) Listen 443 ubah menjadi menjadi Listen 4443
kemudian
virtualhost_default_:443 rubah menjadi virtualhost_default_:4443
dan terakhir
ServerName localhost:4443 menjadi ServerName localhost:4443 - Jangan lupa setiap ada www.example.com diganti jadi localhost ya.
- Start kembali Apache di control panel XAMPP nya.
XAMPP sudah bisa digunakan. Untuk memunculkan dibrowser bukan dengan link http://localhost ya tapi dibuka berserta portnya 8080 http://localhost:8080. Selamat masalah error XAMPP anda di windows 8 telah teratasi. :)
Comments