PHP启动:无法加载动态库-找不到指定的模块


PHP Startup: Unable to load dynamic library - The specified module could not be found

我一直在error_log中得到这些警告:

PHP Warning:  PHP Startup: Unable to load dynamic library 'ext'php_intl.dll' - The specified module could not be found.

我得到这个问题在Windows Server 2012与IIS 7.5和PHP版本5.3.26和5.3.29(32位)

在SO和Google上搜索,得到以下解决方案:将icu*.dll文件移动到Apache的bin目录。唯一的问题是:

    我不使用apache。我使用IIS.
  • 我的PHP目录中没有icu*.dll文件。

最后一件事很奇怪,因为我应该把它们放在我的PHP目录中!

似乎MSI安装程序(5.3.26和5.3。请不要帮我安装这些。压缩后的PHP包确实包含它们。因此,我使用了压缩的PHP包,而不是从MSI安装程序中获得的PHP。

我还确保PHP的安装目录,那些icu*.dll所在的地方,设置在我的系统路径变量