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

时间:2016-02-01 16:38:45

标签: php google-app-engine

使用PHP AppEngine在PHP.ini中使用extension = curl.so时出错。使用google_app_engine.enable_curl_lite =" 1"工作正常。

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

这会导致服务器响应为空。

1 个答案:

答案 0 :(得分:0)

您必须禁用CURLOPT_FOLLOWLOCATION。