XAMPP Apache cannot start Port 80 in use
Obtenez vous cette erreur lors du démarrage d’Apache avec XAMPP ?
13:47:10 [Apache] Problem detected!
13:47:10 [Apache] Port 80 in use by "Unable to open process" with PID 4!
13:47:10 [Apache] Apache WILL NOT start without the configured ports free!
13:47:10 [Apache] You need to uninstall/disable/reconfigure the blocking application
13:47:10 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
13:47:10 [Apache] Attempting to start Apache app...
13:47:10 [Apache] Status change detected: running
13:47:11 [Apache] Status change detected: stopped
13:47:11 [Apache] Error: Apache shutdown unexpectedly.
13:47:11 [Apache] This may be due to a blocked port, missing dependencies,
13:47:11 [Apache] improper privileges, a crash, or a shutdown by another method.
13:47:11 [Apache] Press the Logs button to view error logs and check
13:47:11 [Apache] the Windows Event Viewer for more clues
13:47:11 [Apache] If you need more help, copy and post this
13:47:11 [Apache] entire log window on the forums
La raison peut être que le port que vous utilisez est déjà utilisé par votre ordinateur, et que vous ne puissez par conséquent pas l’utiliser pour votre serveur web Apache.
Localisez votre httpd.conf – si vous ne savez pas ou il est, dans la fenêtre XAMPP, cliquez sur Config > Apache (httpd.conf), ceci l’ouvrira automatiquement dans l’editeur de texte par défaut.
Recherchez la ligne contenant Listen 80, 80 étant le port utilisé par Apache pour servir les pages web
Changez pour une autre valeur – par exemple Listen 8080
Essayez à nouveau de démarrer Apache…
Cela devrait à présent fonctionner !
Vous obtiendrez peut-être l’erreur XAMPP Apache erreur Port 443 in use by Skype
Vous pouvez accéder à vos pages web à l’URL http://localhost:8080