web-dev-qa-db-fra.com

WAMP PHP Erreur de démarrage: impossible de charger la bibliothèque dynamique

Mon serveur WAMP fonctionnait absolument bien hier. Aujourd'hui, j'ai dû redémarrer mon ordinateur et quelque chose a endommagé les travaux. Le serveur ne démarre jamais complètement ... l'icône de la barre des tâches reste orange. Mes projets s'ouvriront, mais uniquement le chargement HTML et non le PHP. Voici mon journal des erreurs de PHP ...

[04-Oct-2014 01:36:27 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:36:27 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:36:27 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:36:27 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:36:27 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:36:27 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:37:28 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:37:28 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:37:28 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:37:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:37:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:37:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:38:42 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:38:42 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:38:42 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:38:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:38:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:38:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:44:47 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:44:47 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:44:47 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

[04-Oct-2014 01:44:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:44:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[04-Oct-2014 01:44:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.

 in Unknown on line 0

Tous les fichiers de la bibliothèque sont toujours présents dans le bon dossier. Quelqu'un sait ce qui pourrait causer cela?

Mise à jour: Vous ne savez pas pourquoi j'ai autant de versions différentes, mais les voici: visual c++ redistributable versions

Mise à jour: j'ai réinstallé complètement wamp et je reçois toujours ces erreurs.

10
ShoeLace1291

C'est juste un problème dans le processus d'installation de la 2.5.

Tout ce que vous devez faire est ceci: -

À l'aide de wampmanager (l'icône W dans la barre d'état système), faites 

left click wampmanager -> Apache -> Version -> (and click on the version number)

Cela entraînera wampmanager à reconstruire tous les fichiers SYMLINKS du dossier Apache/bin et à redémarrer Apache. Cela devrait résoudre le problème et empêcher les erreurs d'apparaître dans le php error log.

16
RiggsFolly

C'est une incompatibilité de version ou une dépendance manquante de ces DLL d'extension.

Vous devrez peut-être installer Visual C++ Redistributable:

Les versions PHP VC9 (5.4) requièrent que Visual C++ Redistributable pour Visual Studio 2008 SP1 x86 ou x64 soit installé. 

Les versions VC11 (5.5, 5.6) requièrent l’installation de Visual C++ redistribuable pour Visual Studio 2012 x86 ou x64.

php_ldap pourrait aussi avoir besoin de libeay32.dll et de ssleay32.dll ... mais ces fichiers font partie de la distribution PHP. Cela ne poserait problème que si elles étaient supprimées ou si le dossier PHP ne se trouvait pas sur votre var ENV PATH.

Essayez avec un nouveau téléchargement PHP: 

2
Jens A. Koch

Ceci peut être corrigé en utilisant les menus Wamp.

Vérifiez la version d'Apache que vous avez. Il pourrait s'agir de 2.4.9.

Cela provoquera WAMPServer to rebuild of all the SYMLINK's in the Apache2.4.9/bin folder and that will put the correct symlinks in there for these 2 extensions. comme dit ici .

Il vous faudra donc éditer le \wamp\script\config.inc.php et trouver la variable $phpDllToCopy et y apporter

$phpDllToCopy = array (
'icudt52.dll', 
'icuin52.dll',
'icuio52.dll',
'icule52.dll',
'iculx52.dll',
'icutest52.dll',
'icutu52.dll',
'icuuc52.dll',
'icudt51.dll', 
'icuin51.dll',
'icuio51.dll',
'icule51.dll',
'iculx51.dll',
'icutest51.dll',
'icutu51.dll',
'icuuc51.dll',
'icudt50.dll', 
'icuin50.dll',
'icuio50.dll',
'icule50.dll',
'iculx50.dll',
'icutest50.dll',
'icutu50.dll',
'icuuc50.dll',
'icudt49.dll',
'icuin49.dll',
'icuio49.dll',
'icule49.dll',
'iculx49.dll',
'icutest49.dll',
'icutu49.dll',
'icuuc49.dll',
'libeay32.dll',
'libsasl.dll', 
'libintl.dll',
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'fribidi.dll', 
'fdftk.dll',   
'libmcrypt.dll',
'libmhash.dll',
'libmysql.dll',
'libmysqli.dll',
'msql.dll',
'ntwdblib.dll',
'php5activescript.dll',
);
0
Avinash Babu