简体   繁体   English

PHP启动:无法加载动态库

[英]php startup :unable to load dynamic library

我正在警告php启动:无法加载动态库'C:/wamp/bin/php/php5.5.12/ext/php_intl.dll'-%1不是有效的Win32应用程序。

That is due to invalid dll file. 那是由于无效的dll文件。

first you need to find 首先你需要找到

  • Architecture - 32 bit ot 64 bit 体系结构-32位或64位
  • compiler version - VC9 or VC11 编译器版本-VC9或VC11
  • Thread safe or Non thread safe 线程安全或非线程安全

this can be find by open phpinfo or echoing phpinfo() in any php file. 这可以通过打开phpinfo或在任何php文件中回显phpinfo()来找到。 then search for Compiler , Architecture and Thread Safety 然后搜索CompilerArchitectureThread Safety

then go to http://windows.php.net/download/ and download right Releases. 然后转到http://windows.php.net/download/并正确下载Releases。 replace needed file then restart web server 替换所需的文件,然后重新启动Web服务器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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