What is CURL?

canca13年前 (2011-03-28)PHP239

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.

相关文章

IIS配置PHP服务器

1、把PHP-5.2 zip 解压放到 C:\php (你可以选择目录,本例以此说明)。2、将php.ini-dist复制到 C:\WINDOWS 目录下并改名为php.ini,复制 php5ts.d...

Debian系统简单配置Apache2+PHP

环境说明debian 8(jessie)apache2php 7.0安装组件# apt-get install apache2 php7.0...

授权Apache2 + PHP读写目录权限

摘要:您需要将目录的所有者设置为PHP使用的用户(Web服务器用户)。步骤1:确定PHP用户创建一个包含以下内容的PHP文件:<?php echo `whoami`;&nbs...

发表评论

访客

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