EasyPHP 上的激活卷曲 [英] Activation Curl on EasyPHP
问题描述
在 php.ini 中取消注释 curl-modul 后,我收到以下错误:
After uncommenting the curl-modul in the php.ini i get the following error:
PHP 警告:PHP 启动:无法加载动态库 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5617x160120145639\ext\php_curl.dll' - Das angegebene Modul wurde nichtgefunden.\r\n 在第 0 行的未知
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5617x160120145639\ext\php_curl.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
推荐答案
正如 Anar Hariyev 所说,有效:
This as, Anar Hariyev states, works:
100% 有效的解决方案,我赢了这个问题!
100% working solution, I won this problem!
1) 将 libssh2.dll 从 php 目录复制到 Windows/system 目录
1) Copy libssh2.dll from php directory to Windows/system directory
2) 在 php.ini #zend_extension 删除 (;) 前排 ;extension=php_curl.dll
2) In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll
3) 重启 Apache 服务器.
3) Restart Apache server.
但是,您可以将 libssh2.dll 复制到 Apache 的 bin 文件夹中,而不是复制到 Windows 系统目录中.这使服务器保持可移植性.
However, you can copy libssh2.dll into Apache's bin folder as opposed into the Windows System directory. This keeps the server portable.
这篇关于EasyPHP 上的激活卷曲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!