Home > Backend Development > PHP Tutorial > PHP怎么开启cURL功能

PHP怎么开启cURL功能

PHPz
Release: 2020-09-05 10:01:45
Original
2519 people have browsed it

PHP怎么开启cURL功能

PHP开启cURL功能的方法:

在php.ini中开启

8a94a1532189129a8fe3dc67144114c.png

确定php扩展目录下有php_curl.dll类库

在php.int中找到扩展库所在目录

efb10c12f029db3511ab6e214410a2f.png

判断目录下是否有php_curl.dll

764a834e9e3b6abf1e458390cfa85ad.png

没有的话去搜索下载

apache的配置文件加载相关类库

重启apache服务器

验证

直接打印出php的信息

更多相关知识,请访问PHP中文网

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