y compris les modifications du 30 June 2011 à 11:59 pour SSLPassPhraseDialog
Le serveur ne démarrait toujours pas.
Je l'ai débuggé ainsi :
Je l'ai lancé en ligne de commande :
1. Aller dans le répertoire C:\wamp\bin\apache\Apache2.4.4
2. taper httpd
J'ai eu l'erreur
AH00526: Syntax error on line 76 of C:/wamp/bin/apache/Apache2.4.4/conf/extra/httpd-ssl.conf: SSLSessionCache: `shmcb` session cache is not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
3. J'ai décommenté dans le fichier de configuration d'apache httpd.conf (enlever le#)
J'ai redémarré et le serveur fonctionne partiellement. J'ai des erreurs surprenantes, les images ne s'affichent pas.
Dans le log d'erreur, j'ai des erreurs bizarres : [Mon Jul 29 11:27:37.611444 2013] [core:error] [pid 4996:tid 1716] [client ::1:59281] AH00135: Invalid method in request G\x1fET /images/icons/Chart.png HTTP/1.1, referer: [localhost]
Je note aussi
[Mon Jul 29 12:40:32.975795 2013] [ssl:warn] [pid 7776:tid 476] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1e 11 Feb 2013, version currently loaded is OpenSSL 1.0.1d 5 Feb 2013) - may result in undefined or erroneous behavior
Note : en démarrant le serveur,j'obtiens des erreurs dans les logs mais qui n'empèchent pas le bon fonctionnement
Appache error log
PHP Warning: PHP Startup: in Unknown on line 0 [Mon Jul 29 13:04:51.360276 2013] [mpm_winnt:notice] [pid 8456:tid 444] AH00455: Apache/2.4.4 (Win64) OpenSSL/1.0.1e PHP/5.4.12 configured -- resuming normal operations [Mon Jul 29 13:04:51.360276 2013] [mpm_winnt:notice] [pid 8456:tid 444] AH00456: Server built: Feb 22 2013 22:08:37 [Mon Jul 29 13:04:51.360276 2013] [core:notice] [pid 8456:tid 444] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Mon Jul 29 13:04:51.360276 2013] [mpm_winnt:notice] [pid 8456:tid 444] AH00418: Parent: Created child process 1424 PHP Warning: PHP Startup: in Unknown on line 0 [Mon Jul 29 13:04:52.782226 2013] [mpm_winnt:notice] [pid 1424:tid 332] AH00354: Child: Starting 150 worker threads.
ssl error log
[Mon Jul 29 13:04:51.172767 2013] [ssl:warn] [pid 8456:tid 444] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Jul 29 13:04:51.172767 2013] [ssl:warn] [pid 8456:tid 444] AH01909: RSA certificate configured for localhost:443 does NOT include an ID which matches the server name [Mon Jul 29 13:04:51.282148 2013] [ssl:warn] [pid 8456:tid 444] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Jul 29 13:04:51.282148 2013] [ssl:warn] [pid 8456:tid 444] AH01909: RSA certificate configured for localhost:443 does NOT include an ID which matches the server name [Mon Jul 29 13:04:52.579088 2013] [ssl:warn] [pid 1424:tid 332] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Jul 29 13:04:52.579088 2013] [ssl:warn] [pid 1424:tid 332] AH01909: RSA certificate configured for localhost:443 does NOT include an ID which matches the server name [Mon Jul 29 13:04:52.766600 2013] [ssl:warn] [pid 1424:tid 332] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Jul 29 13:04:52.766600 2013] [ssl:warn] [pid 1424:tid 332] AH01909: RSA certificate configured for localhost:443 does NOT include an ID which matches the server name
PHP error log
[29-Jul-2013 17:31:56 UTC] PHP Warning: PHP Startup: in Unknown on line 0
[29-Jul-2013 17:31:57 UTC] PHP Warning: PHP Startup: in Unknown on line 0
<Directory "c:/wamp/apps/phpmyadmin4.0.4/"> Options Indexes FollowSymLinks ExecCGI AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from localhost </Directory>
par
<Directory "c:/wamp/apps/phpmyadmin4.0.4/"> Options Indexes FollowSymLinks ExecCGI AllowOverride all Require local </Directory>
Open ssl, je n'utilise pas. Néanmoins, lu sur Apachelounge : Note: When using PHPs binaries from windows.php.net with OpenSSL it is advised to use the build with OpenSSL 0.9.8. Mixing versions may cause crashes, see info.