Activation Curl on EasyPHP

偶尔善良 提交于 2019-11-27 21:56:29

问题


After uncommenting the curl-modul in the php.ini i get the following error:

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


回答1:


This as, Anar Hariyev states, works:

100% working solution, I won this problem!

1) Copy libssh2.dll from php directory to Windows/system directory

2) In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll

3) Restart Apache server.

However, you can copy libssh2.dll into Apache's bin folder as opposed into the Windows System directory. This keeps the server portable.




回答2:


100% working solution, i won this problem!

1) Copy libssh2.dll from php directory to Windows/system directory

2) In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll

3) Restart Apache server.




回答3:


The Solution was to copy the files from the php directory:

  • libeay32.dll
  • libsasl.dll
  • ssleay32.dll

to "C:\Windows\System"




回答4:


If you use the 32-bit version of EasyPHP and the 64-bit version of Windows, the solution is to copy the files below (from the EasyPHP PHP folder):

  • libeay32.dll
  • libsasl.dll
  • ssleay32.dll

to the folder: C: \ WINDOWS \ SYSWOW64




回答5:


Simply add your php directory in the path (environment variable)



来源:https://stackoverflow.com/questions/34905939/activation-curl-on-easyphp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!