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 nicht gefunden.\ 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/系统目录
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 System目录中.这样可以使服务器保持可移植性.
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屋!