I`m using curl in my script and it works fine in browser.
But when i try to call the script from console i get “Call to undefined function curl_init()”
What could be the problem? Should i do some extra configuring for it to work in console ?
Thank you for your help.
I`m using curl in my script and it works fine in browser. But when
Share
CLI and browser each have their own configuration files (php.ini). Check your .ini file that CLI uses and make sure its part of it