Problems with Curl in PHP 721

Asked

Viewed 226 times

0

So I graduated, man Notebook and I was reinstall the Apache

I installed Apache + PHP 721+ Mysql.

Everything works.

I went to try a phone call with Curl and gave error:

[Thu Apr 18 16:41:34.354241 2019] [php7:error] [pid 9344:tid 1212] [client ::1:50785] PHP Fatal error:  
Uncaught Error: Call to undefined function curl_init() in D:\\Trabalhos\\host\\htdocs\\hotplateprensas.com.br\\teste.php:14\n
Stack trace:\n#0 {main}\n  thrown in D:\\Trabalhos\\host\\htdocs\\hotplateprensas.com.br\\teste.php on line 14

 I looked for the line from Curl in the php.ini and discolored:

extension=curl

Did not resolve!

Insert one more row

extension=curl
extension=php_curl.dll

also failed to resolve:

Note: the dll 

php_curl.dll

is in the folder ext of php721

What else can I do?

  • What the phpinfo() says about the extension? You restarted Apache after all the changes?

  • The only line you have about CURL in phpinfo() is Sterling Hughes URL. Yes, restart several times. I even restarted windows too!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.