Rabu, Juni 01, 2016

Cara Menjalankan Apache XAMPP di Windows 10

Pada versi windows sebelumnya,
biasanya kita tidak perlu melakukan setting apapun untuk menjalankan XAMPP,
tapi lain halnya pada windows 10, biasanya akan ada masalah seperti dibawah ini:

1:10:23 PM  [Apache] Status change detected: running
1:10:24 PM  [Apache] Status change detected: stopped
1:10:24 PM  [Apache] Error: Apache shutdown unexpectedly.
1:10:24 PM  [Apache] This may be due to a blocked port, missing dependencies, 
1:10:24 PM  [Apache] improper privileges, a crash, or a shutdown by another method.
1:10:24 PM  [Apache] Press the Logs button to view error logs and check
1:10:24 PM  [Apache] the Windows Event Viewer for more clues
1:10:24 PM  [Apache] If you need more help, copy and post this
1:10:24 PM  [Apache] entire log window on the forums

atau bila direct execute apache akan muncul seperti dibawah ini:

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions.  : AH00072: make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions.  : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .

Hal ini dikarenakan port 80 digunakan oleh iis,
Cara menghentinkannya adalah, open windows command shell dengan menggunakan hak akses administrator
lalu ketikkan command dibawah ini

C:\WINDOWS\system32>iisreset /stop

Attempting stop...
Internet services successfully stopped

C:\WINDOWS\system32>


Tidak ada komentar:

Posting Komentar