前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >php_curl.dll libssh2.dll 始终无法加载的原因 及解决办法

php_curl.dll libssh2.dll 始终无法加载的原因 及解决办法

作者头像
庞小明
发布2018-03-09 11:32:45
8900
发布2018-03-09 11:32:45
举报
文章被收录于专栏:pangguomingpangguoming

在StackOverflow得到最终原因及解决办法

http://stackoverflow.com/questions/16424117/php-unable-to-load-php-curl-dll-extension

libeay32.dll and ssleay32.dll have to be path-accessible for php_curl.dll loading to succeed. Copying them into System32 (or even into the Windows main directory) is a bad hack and does not even work with newer PHP versions.

The right way to do it is to add the PHP path to the Windows Path variable. In Control Panel -> System click on Advanced System Settings and use the button Environment Variables. UnderSystem Variables you will find the Path variable. Edit it and append ;C:\PHP to it - or whatever the path to your PHP folder is. Then restart Apache.

就是在环境变量里面添加PHP的路径。

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2016-01-29 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档