简体   繁体   中英

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

I kept getting these warnings in my error_log:

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

I get this problem on Windows Server 2012 with IIS 7.5 and both PHP versions 5.3.26 and 5.3.29 (32 bit)

Searching on SO and Google, yields the following solution: move the icu*.dll files to your Apache's bin directory. Only problems with this is:

  • I don't use apache. I use IIS.
  • I don't have icu*.dll files in my PHP directory.

And that last thing is weird, because I should have them in my PHP directory!

It seems that the MSI installers (both 5.3.26 and 5.3. 29) just fail to install these for me. The zipped PHP packages DO include them. So I used the zipped PHP package in stead of the PHP that I got from the MSI installer.

Also I made sure the PHP installation directory, where those icu*.dll were, is set in my system PATH variable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM