Jump to content
Carlos Rocha

Problemas com cURL

Recommended Posts

Carlos Rocha

Então, formatei meu Notebook e fui reinstalar o Apache

Instalei Apache + PHP 721+ MySQL.

Tudo funciona.

Fui tentar uma chamada com cURL e deu erro:

[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

 Procurei a linha do cURL no php.ini e descomentei:

extension=curl

Não resolveu!

Inserir uma linha a mais

extension=curl
extension=php_curl.dll

também não resolveu:

O que mais posso fazer?

Obs.: a dll 

php_curl.dll

está na pasta ext do php721

Edited by carcleo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.