WAMP PHP启动错误:无法加载动态库

2022-03-28 00:00:00 wamp php

我的WAMP服务器昨天工作得非常好。今天我不得不重新启动我的电脑,有什么东西搞砸了我的工作。服务器从未完全启动.任务栏图标保持橙色。我的项目将会打开,但只会加载HTML,而不会打开PHP。这是我的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
所有库文件仍位于正确的文件夹中。有人知道这可能是什么原因吗?

更新:不确定为什么我有这么多不同的版本,但以下是它们:

更新:我完全重新安装了wamp,但仍然收到这些错误。


解决方案

这只是2.5安装过程中的一个小问题。

您需要做的就是:-

使用wampmanager(系统托盘中的W图标)执行

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

这将导致wampmanager重新构建Apache/bin文件夹中的所有SYMLINK,然后重新启动Apache。这应该会解决问题并阻止错误出现在php error log中。

相关文章