Hi Sabri,

Are you sure you've set up the curl module correctly?
>From the error message, it seems you haven't done properly 
<http://stackoverflow.com/questions/10226983/call-to-undefined-function-curl-init>
.
Do you have *curl* appearing in the result from *php --info*?

Can you use *curl* merely in a simple PHP file?

Best,
Thanet, AdWords API Team

On Monday, January 18, 2016 at 8:04:23 AM UTC+9, Sabri Karagönen wrote:
>
> Hi,
>
> I upgraded my PHP version to 7.
> Even Curl is installed and working properly, I get Curl error when I try 
> to get data from AdWords API:
>
> FatalThrowableError in CurlUtils.php line 108:Fatal error: Call to 
> undefined function curl_init()
>
>    1. in CurlUtils.php line 108
>    2. at CurlUtils->Init('https://accounts.google.com/o/oauth2/token') 
>    in CurlUtils.php line 52
>    3. at CurlUtils->CreateSession('
>    https://accounts.google.com/o/oauth2/token') 
>    in SimpleOAuth2Handler.php line 108
>
> You can see last 3 steps of my error log. 
>
> How can I fix it? What am I doing wrong?
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed2fbb19-1675-48a4-a4f7-3158c0fafa64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to