简体   繁体   中英

Curl in Php - Google Analytics Api

i downloaded and extracted Google Api for php and try to retrieve data from Google Analytics.

when i install google api , i recognize that i have to install the extension 'CURL'.

i made a research about it and i activate it from php.ini and install needed dll's

despite all of this i doesnt works.

i take the error below 在此处输入图片说明

actually there is a file named 'apiClient.php' and in apiClient.php there are a few lines that check CURL is activated or not.

if (! function_exists('curl_init')) {
  throw new Exception('Google PHP API Client requires the CURL PHP extension');
}

is there anything that i miss ? What is the problem ? How can i activate CURL?

重新启动Apache是​​解决方案:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM