Home >Backend Development >PHP Tutorial >windows php 加载curl和mcrypt模块

windows php 加载curl和mcrypt模块

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 14:24:591163browse

1、今在windows下遇到加载curl不成功的问题,打开php.ini文件,找到”;extension=php_curl.dll”这一行,把前面的分号去掉,在phpinfo中还是不行。
查阅一些资料后发现,原来在Windows环境下打开curl扩展,还需要将libeay32.dll 和 ssleay32.dll 两个文件拷贝到Windows系统目录,解决办法:拷贝此2文件到 C:\Windows\system32 目录,重启IIS即可!

2、除了在php.ini中药打开extension=php_mcrypt.dll,还需copy libmcrypt.dll 到 C:\Windows\system32下。

Statement:
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