j'ai installé wamp dans l'espoir de pouvoir faire tourner joomla en local sur mon PC.
J'ai fait pas mal de recherche aussi bien sur ce forum que en dehors mais rien à faire, je ne trouve pas la solution pourtant ça fait plus de 3 heures que je suis sur le problème. C'est peut-être pas grand chose, mais j'ai besoin d'un oeil neuf dessus.
Donc voilà mon icone wamp reste jaune, et je ne peux rien faire avec clique gauche ou droit, etc... J'ai vite découvert que le problème était le serveur apache.
J'ai forcé le démarrage automatique d'apache via services.msc, ensuite j'ai redémarrer (encore une fois...) le pc. Rien y fait l'icone reste jaune. Je suis retourné dans services. J'ai forcé le démarrage et là, je reçois comme message d'erreur le suivant: erreur 1067, le processus s'est arrêter inopinément.
J'ai été aussi consulté les fichiers log d'apache, j'ai ceci:
[Sun Dec 26 19:14:23 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun Dec 26 19:16:08 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun Dec 26 19:17:45 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? PHP Warning: PHP Startup: curl: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: gettext: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: imap: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mbstring: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mssql: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mysql: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mysqli: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: openssl: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: PDO: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_mysql.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_sqlite.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0 PHP Warning: PHP Startup: soap: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: tidy: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: xmlrpc: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: zip: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_exif.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0 PHP Warning: PHP Startup: wincache: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 [Sun Dec 26 19:17:51 2010] [notice] Apache/2.2.17 (Win32) PHP/5.3.3 configured -- resuming normal operations [Sun Dec 26 19:17:51 2010] [notice] Server built: Oct 18 2010 01:58:12 [Sun Dec 26 19:17:51 2010] [notice] Parent: Created child process 8488 Apache server shutdown initiated... ble to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: gettext: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: imap: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mbstring: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mssql: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mysql: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: mysqli: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: openssl: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: PDO: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_mysql.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_sqlite.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0 PHP Warning: PHP Startup: soap: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: tidy: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: xmlrpc: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: zip: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_exif.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0 PHP Warning: PHP Startup: wincache: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0 [Sun Dec 26 19:17:52 2010] [notice] Child 8488: Child process is running [Sun Dec 26 19:17:52 2010] [notice] Child 8488: Acquired the start mutex. [Sun Dec 26 19:17:52 2010] [notice] Child 8488: Starting 64 worker threads. [Sun Dec 26 19:17:52 2010] [notice] Child 8488: Starting thread to listen on port 80. [Sun Dec 26 19:19:22 2010] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Dec 26 19:19:22 2010] [notice] Child 8488: Exit event signaled. Child process is ending. [Sun Dec 26 19:19:23 2010] [notice] Child 8488: Released the start mutex [Sun Dec 26 19:19:24 2010] [notice] Child 8488: All worker threads have exited. [Sun Dec 26 19:19:24 2010] [notice] Child 8488: Child process is exiting [Sun Dec 26 19:19:24 2010] [notice] Parent: Child process exited successfully. [Sun Dec 26 19:20:07 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun Dec 26 19:26:35 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
à savoir, j'avais lu sur un forum qu'il fallait mieux désinstaller Microsoft ISS, je me demande si c'est pas encore pire maintenant.
En tout cas, un tout grand merci d'avance de votre aide!
Je ne suis pas certain, mais quand je lis : PHP Warning: PHP Startup: curl: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0
Cela me semble être une version d'apache et une version de php qui ne sont pas compilés avec les mêmes version de VC (L'un en VC6 et l'autre en VC9)
Avez vous bien pris la bonne version de php ? Car C:\\Program Files\\PHP\\ext n'est PAS le chemin de recherche de PHP de wamp.... Pour que tout marche, il semble qu'il vous faille PHP compilé avec VC6...
merci pour votre réponse rapide. (joyeux noel en passant).
En fait, je n'ai plus cette erreur maintenant, dans les logs, depuis que j'ai réinstallé microsoft web ISS. Mais cela ne change rien au problème générale!
Voici, ce que mon fichier log me met maintenant:
[Sun Dec 26 20:13:13 2010] [notice] Child 8044: Child process is running [Sun Dec 26 20:13:13 2010] [notice] Child 8044: Acquired the start mutex. [Sun Dec 26 20:13:13 2010] [notice] Child 8044: Starting 64 worker threads. [Sun Dec 26 20:13:13 2010] [notice] Child 8044: Starting thread to listen on port 80. [Sun Dec 26 20:13:16 2010] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Dec 26 20:13:16 2010] [notice] Child 8044: Exit event signaled. Child process is ending. [Sun Dec 26 20:13:17 2010] [notice] Child 8044: Released the start mutex [Sun Dec 26 20:13:18 2010] [notice] Child 8044: All worker threads have exited. [Sun Dec 26 20:13:18 2010] [notice] Child 8044: Child process is exiting [Sun Dec 26 20:13:18 2010] [notice] Parent: Child process exited successfully. [Sun Dec 26 20:29:39 2010] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
J'ai bien entendu essayer en effaçant le fichier pid. Et ensuite en relancer apache. Mais cela ne change rien du tout... Je suis tout perdu ^^
Sinon, vérifiez bien deux éléments : Votre fichier host ne doit contenir que :
127.0.0.1 localhost
Et toutes vos connexion mysql doivent être fermées explicitement et non par mysql_close()... Car en l'état actuel, votre extrait de log ne montre pas d'erreur, par contre, apache s'éteint....
Il n'y a pas d'erreur php non plus ? (Je cherche à avoir un peu plus d'informations car c'est assez succinct pour le moment)
ben on en revient au même problème... après une réinstall de iis il y a des chances que celui-ci se soit déclaré comme un service. Premier test à faire exécuter -> taper inetmgr ça ouvre le gestionnaire de iis, s'il est démarré, cliquer sur arrêter et, ensuite, lancer Wamp pour voir, si ça marche, c'est bon.
si pas, le souci vient d'apache installé comme un service (la doc d'Apache signale ça très clairement comme un problème fréquent sur windows). Dans ce cas, désinstall de wamp, réinstall en précisant de ne pas installer Apache et MySql comme des services, ça devrait aller mieux ensuite
bonjour je viens vers vous sur ce même post car j'ai à peu près le meme soucis : apache ne démarre pas... apparemment le service ne se lance pas. lorsque j'essaye il me dis que l'accés est refusé... je suis avec la dernière mouture de wamp proposée sur le site, sous WIN 7 auriez vous une piste?
virtualgadjo a écrit: ------------------------------------------------------- > Dans ce cas, désinstall de wamp, réinstall en précisant de ne pas installer Apache et MySql > comme des services, ça devrait aller mieux ensuite
Répondre de cette manière montre que vous n'avez jamais installé Wampserver.
ça faisait un moment que je n'étais pas passé par là et je dois quand même une petite réponse ça fait juste 11/12 ans que je développe en php/mysql dont qques années sur les diverses versions de wamp actuellement sur la dernière qu'il a donc bien fallu que j'installe :-p) , c'est donc assez drôle de lire ça...
par ailleurs, un petit tour sur la doc d'apache confirmera mes dires quand au soucis rencontrés par Apache installé comme un service sur windows (j'essaye d'une manière générale de ne pas parler dans le vide pour ne pas faire perdre leur temps aux utilisateurs)
Merci d'expliquer clairement (Pour le néophyte) comment installer Wampserver SANS installer Apache comme service. Cette option n'est pas proposée lors de l'installation.