1. Installation
-
Téléchargez-le et décompressez-le
dansApacheHaus
le téléchargement, et ouvrez le fichier httpd.conf, recherchez etDefine SRVROOT "/Apache24"
modifiez le répertoire d'installation absolu d'Apache: pas de "/" ou "" à la fin, car le répertoire configuré plus tard a déjà "/" ou " \" au début.
alors
“D:\Apache24\bin\httpd.exe” -k install -n apache
-
Désinstaller
“D:\Apache24\bin\httpd.exe” -k uninstall -n apache
-
httpd -t vérifier l'erreur de configuration
D:\Apache24\bin>httpd -t
AH00526: Syntax error on line 34 of D:/Apache24/conf/extra/httpd-ahssl.conf:
SSLProtocol: Illegal protocol 'TLSv1.3'
Solution:
httpd.conf a trouvé environ 46 lignes et Define ENABLE_TLS13 "Yes"
commenté, c'est ok
D:\Apache24\bin>httpd -t
Syntax OK