Php 创建资源时出错:[message]fopen():找不到包装器

Php 创建资源时出错:[message]fopen():找不到包装器,php,google-app-engine,google-api,Php,Google App Engine,Google Api,我正在用一个简单的GoogleBooksAPI测试GAE,但我无法让它工作。身份验证与oauth2一起工作,但我仍然无法通过此错误消息: " Error creating resource: [message] fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?" 我正在跟踪文档。这是我的PHP代码: putenv

我正在用一个简单的GoogleBooksAPI测试GAE,但我无法让它工作。身份验证与oauth2一起工作,但我仍然无法通过此错误消息:

" Error creating resource: [message] fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?"
我正在跟踪文档。这是我的PHP代码:

putenv('GOOGLE_APPLICATION_CREDENTIALS = ./gtmdocx-73165ebdfb29.json');
        $client = new Google_Client();
        $client->setApplicationName("My Application");
        $client->setDeveloperKey("AIzaSyD******************");
        $client->setHttpClient(new GuzzleHttp\Client(['verify' => false]));
        $service = new Google_Service_Books($client);

        $optParams = array('filter' => 'free-ebooks');
        $results = $service->volumes->listVolumes('Henry David Thoreau', $optParams);

        foreach ($results as $item) {
            echo $item['volumeInfo']['title'], "<br /> \n";
        }
google_app_engine.enable_curl_lite = "1"
google_app_engine.enable_functions = "php_sapi_name"
extension = "php_curl.dll"
extension=curl.so