Developing a new webapp and trying to enable authentication through Google?! Okay, you might have already explored over web and now, must have decided to try to connect your website login with Google Plus. That sounds good!
So, the downloaded sample app gives you the error saying “Fatal error: Uncaught exception ‘Exception’ with message ‘Google PHP API Client requires the CURL PHP extension’ “?
Ensure that you have enabled the php_curl extension. Double check it by opening your php.ini file and find if the extension=php_curl.dll is uncommented. And restart the service.
Din’t work?! No panic! We have got some more help here.
Follow the link given below and download the curl version that corresponds to your php version under “Fixed curl extensions:”.
For example if you have php 5.3.13 and using a 64bit windows – just download “php_curl-5.3.13-VC9-x64.zip”.
Unzip the package and replace it with your existing php_curl.dll file.
You can find this under
wamp\\bin\\php\\php5.3.13\\ext
That’s it! It just worked for me. Are you going to try?!
Download Fixed Curl extension.