Google API throwing error when verifying token
问题 I've been trying to use the Google-API for Google Sign-In, but when I do // $token is set to a correct value beforehand require_once 'inc/google-api/vendor/autoload.php'; $client = new Google_Client(['client_id' => '280452639491-s53psco36kn5cm3nitma4gpqsq9ik3ao.apps.googleusercontent.com']); $payload = $client->verifyIdToken($token); as instructed by google, this error pops up: Fatal error: Uncaught exception 'RuntimeException' with message 'Guzzle requires cURL, the allow_url_fopen ini