Home >Backend Development >PHP Tutorial >PHP 7 has the curl extension turned on, but an error still occurs when using the curl_init() function.

PHP 7 has the curl extension turned on, but an error still occurs when using the curl_init() function.

WBOY
WBOYOriginal
2016-10-10 11:56:051820browse

curl has been enabled under phpinfo(), but an error is still reported when using the curl_init() function.

Reply content:

curl has been enabled under phpinfo(), but an error is still reported when using the curl_init() function.

Have you changed php.ini? Did you restart php-fpm?

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