Maison  >  Questions et réponses  >  le corps du texte

conf - À propos de la configuration du fichier de configuration Apache ! Trouver la solution!

Pourquoi ne peut-il pas démarrer et signaler une erreur ?
Je l'ai essayé plusieurs fois et rien d'autre n'est un problème.
Si ces deux lignes sont annotées, Apache peut être démarré normalement.
J'ai installé l'environnement xampp-win32-1.8.2-3-VC9-installer.exe,
php5apache2_2.dll existait à l'origine dans le répertoire php et n'a pas été téléchargé séparément.
J'ai aussi essayé de changer PHPIniDir en D:/xampp/php/php.ini,
Mais il ne peut pas non plus démarrer Apache !


[Sun Jan 12 15:00:52.795055 2014] [ssl:warn] [pid 7544:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Sun Jan 12 15:00:53.460093 2014] [ssl:warn] [pid 7544:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Sun Jan 12 15:00:53.877117 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22 configured -- resuming normal operations
[Sun Jan 12 15:00:53.878117 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00456: Apache Lounge VC10 Server built: Nov 26 2013 16:07:35
[Sun Jan 12 15:00:53.878117 2014] [core:notice] [pid 7544:tid 256] AH00094: Command line: 'd:\xampp\apache\bin\httpd.exe -d D:/xampp/apache'
[Sun Jan 12 15:00:53.899118 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00418: Parent: Created child process 5512
[Sun Jan 12 15:00:55.171191 2014] [ssl:warn] [pid 5512:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Sun Jan 12 15:00:55.973237 2014] [ssl:warn] [pid 5512:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Sun Jan 12 15:00:56.106244 2014] [mpm_winnt:notice] [pid 5512:tid 268] AH00354: Child: Starting 150 worker threads.
[Sun Jan 12 15:27:04.794454 2014] [core:warn] [pid 7920:tid 196] AH00117: Ignoring deprecated use of DefaultType in line 112 of 

erreur.logs

天蓬老师天蓬老师2713 Il y a quelques jours617

répondre à tous(1)je répondrai

  • PHP中文网

    PHP中文网2017-05-16 17:05:56

    Si les lignes de configuration liées à PHP ne sont pas correctes, alors il ne devrait y avoir aucune erreur dans le port.
    Il est recommandé d'exécuter apachectl -t maintenant pour voir les résultats de la vérification du fichier de configuration.

    De plus, le paramètre PHPIniDir dans la capture d'écran est évidemment erroné et le suffixe .ini est absent du nom du fichier.

    =================

    Le chemin d'apachectl est :/Applications/xampp/xamppfiles/bin/apachectl

    répondre
    0
  • Annulerrépondre