当前位置:首页 > PHP

What is CURL?

canca15年前 (2011-03-28)PHP529

CURL is a PHP extension that allows you to fetch contents of remote files, do post requests, get requests and a lot more.

Setting up CURL extension in php on IIS

Installing CURL in three easy steps on IIS
For an ISAPI Setup
Step 1:
Copy libeay32.dll from your PHP directory to the c:\windows\system32 directory
Copy ssleay32.dll from your PHP directory to the c:\windows\system32 directory
Make sure to set the permissions on both files so that IUSER_MACHINENAME can acess them

Step 2:
Open your php.ini
Find
;extension=php_curl.dll
Change to
extension=php_curl.dll

If that line does not exist just add after other extensions.

Step 3:
When running IIS in ISAPI you will need to do a quick restart of the web server service in order for any changes to the php.ini to take affect.

扫描二维码推送至手机访问。

版权声明:本文由Ant.Master's Blog发布,如需转载请注明出处。

本文链接:https://iant.work/post/260.html

标签: PHP
分享给朋友:

“What is CURL?” 的相关文章

IIS配置PHP服务器

1、把PHP-5.2 zip 解压放到 C:\php (你可以选择目录,本例以此说明)。2、将php.ini-dist复制到 C:\WINDOWS 目录下并改名为php.ini,复制 php5ts.dll和 libmysql.dll到 C:\WINDOWS\system32 中。3、接下来在IIS中…

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。