I\'ve been searching for days and trying new and older version of google-api-php-client along with various other examples out there, but I can\'t seem to get around this err
I was also stumbled while parsing p12 file. It always showed error like "Undefined function openssl_pkcs12_read()". To get Rid of this error, first you must check php.ini file. open php.ini fine then search for openssl and then uncomment the line. Now save and restart all wamp services.
And your function is working.