Home > Backend Development > PHP Tutorial > PHP无法加载curl扩展

PHP无法加载curl扩展

WBOY
Release: 2016-06-20 12:36:34
Original
870 people have browsed it

win8+php5.6

网上搜索到的结果都是以下步骤:
1 将php安装目录下ssleay32.dll、libeay32.dll和 php_curl.dll拷贝到system32文件夹下。 
2 修改php.ini文件将;extension= php_curl.dll取消注释,保存,重启服务器


但是还是出现CURL组件无法加载,后来把 php5ts.dll、libssh2.dll,也一起拷贝到system32文件夹下,重启也是不行。

考虑到是不是Apache是不是没有加载复制过去的dll文件。

在apache中httpd.conf最后添加

LoadFile D:/php5.6/php5ts.dll

LoadFile D:/php5.6/libeay32.dll

LoadFile D:/php5.6/ssleay32.dll

LoadFile D:/php5.6/libssh2.dll


重启apache后,提示加载完成。



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template