Home > Article > Backend Development > What to do if php cannot load dll
php cannot load dll because of the lack of icu dependency. The solution: first go to the official website to download the corresponding version of icu; then copy the file suffix ".dll" and ".exe" starting with icu to apache bin directory; finally restart apache.
Recommendation: "PHP Video Tutorial"
php_intl.dll' - The specified one cannot be found module.
in Unknown on line 0 Many people encounter this problem and cannot solve it. This article is a solution for Windows systems.
[Situation description]: There is obviously this dynamic link library in the ext folder, and the php.ini related extension configuration is also enabled, but the error is still reported,
[ Pitfalls]: Many netizens have seen that the solution online is to copy a series of files such as icu***.dll to the bin directory of apache, but you find that you failed to do so
[Reason]: It is true that there is a lack of icu dependency, but there are particularities in choosing the icu version and the location of copying. This is the reason why many people see others succeed but fail to do it themselves
[Perfect solution ]:
①: Download icu and go to the official website to download the corresponding version, such as the 5 series version download address http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-Win32 -msvc10.zip. There is a pitfall here, that is, if you find that you cannot access it, what should you do? Go to my forum to download it. I am worried that many people will not be able to circumvent the wall. I have shared 2 versions, 5 and 6. My local environment is php7. 0.12 version, if it doesn’t work, you can switch to icu version
[Personal forum address]: www.phper.video
②: Change the words starting with icu Copy the file suffixes .dll and .exe to the bin directory of apache, the php directory and the ext directory of php (three places, this is the safest), and then restart apache
[Note]: The extension configuration in php.ini must be turned on extension=php_intl.dll and remove the preceding semicolon
The above is the detailed content of What to do if php cannot load dll. For more information, please follow other related articles on the PHP Chinese website!