PHP AppEngine-设置open_basedir时无法激活CURLOPT_FOLLOWLOCATION

PHP AppEngine-设置open_basedir时无法激活CURLOPT_FOLLOWLOCATION,php,google-app-engine,Php,Google App Engine,使用PHP AppEngine时,在PHP.ini中使用extension=curl.so时出现错误。使用google\u app\u engine.enable\u curl\u lite=“1”效果很好 警告:curl_setopt_array():当在第241行的/base/data/home/apps/s~ACCOUNT-1141/1.390397645927682479/includes/vendor/asimlqt/php-google-spreadsheet-client/src/

使用PHP AppEngine时,在PHP.ini中使用extension=curl.so时出现错误。使用google\u app\u engine.enable\u curl\u lite=“1”效果很好

警告:curl_setopt_array():当在第241行的/base/data/home/apps/s~ACCOUNT-1141/1.390397645927682479/includes/vendor/asimlqt/php-google-spreadsheet-client/src/google/spreadsheet/DefaultServiceRequest.php中设置了open_basedir时,无法激活curl\u FOLLOWLOCATION


这将导致服务器的响应为空。

您必须禁用CURLOPT_FOLLOWLOCATION