php.ini扩展名未找到Windows 10

时间:2016-12-28 14:30:20

标签: php windows server php-extension

我正在使用适用于Windows 10的Minecraft Pocket Edition服务器并使用PHP7。它是一个没有在服务器上运行的本地副本,我需要添加一些扩展,我写的php.ini文件定义了一些扩展

extension_dir = ".\ext"
enable_dl = On
allow_url_fopen = On
extension=php_weakref.dll
extension=php_curl.dll
extension=php_mysqli.dll
extension=php_sqlite3.dll
extension=php_sockets.dll
extension=php_mbstring.dll
extension=php_yaml.dll
extension=php_com_dotnet.dll

但我遇到了一些错误,即

PHP Warning:  PHP Startup: Unable to load dynamic library '.\ext\php_weakref.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.\ext\php_yaml.dll' - The specified module could not be found.
 in Unknown on line 0

我缺少什么,是线程安全与非线程安全问题,还是我搞乱了extension_dir?

感谢所有帮助!

0 个答案:

没有答案