#google app engine for php can’t use curl but can use http_stream with stream_context_create() , change ioClass from Google_CurlIO to Google_HttpStreamIO
Follow these steps to get the client library up and running.
- Download the latest release package of the client.
- Extract the library from the archive and copy the google-api-php-client directory to your project root.
- Edit the file
, and configure the client to use HTTP streams and memcache by making the following changes to the$apiConfig
- Test that the client is working correctly by following the Google Plus example on the client home page.
'authClass' => 'Google_OAuth2',
'ioClass' => 'Google_HttpStreamIO',
//'ioClass' => 'Google_CurlIO',
'cacheClass' => 'Google_MemcacheCache',
// We need to configure fake values for memcache to work
'ioMemCacheCache_host' => 'does_not_matter',
'ioMemCacheCache_port' => '37337',