1

What I'm trying to do is creating a time tracker track time and saving it to server via curl

remaining part of application works fine but when I'm calling curl to submit time it shows me error "Call to undefined function curl_init()"

1
  • Is cURL enabled in php.ini? Commented May 17, 2013 at 12:29

1 Answer 1

2

Sounds like CURL is not enabled. You can check this with a phpinfo() file.

What you need to do is edit the php.ini file and un-comment ;extension=php_curl.dll (remove the ;). Then restart your web server.

Sign up to request clarification or add additional context in comments.

1 Comment

I'm creating desktop application and there's no php_curl extension in ext folder and after putting php_curl.dll it still show me error

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.