[英]PHP AppEngine currently broken when using TwitterOAuth on local host
For some reason on localhost with PHP AppEngine 1.9.24 (and verified this also occurs on 1.9.21), I get the following error due to a CURLE_URL_MALFORMAT. 由于某些原因,在具有PHP AppEngine 1.9.24的本地主机上(并验证了在1.9.21上也发生了这种情况),由于CURLE_URL_MALFORMAT,我收到以下错误。
Fatal error: Uncaught exception 'Abraham\TwitterOAuth\TwitterOAuthException'
If I comment out 如果我注释掉
extension = "curl.so"
within php.ini, and use Purl.php I get the following errors: 在php.ini中,并使用Purl.php出现以下错误:
Fatal error: Uncaught exception 'Abraham\TwitterOAuth\TwitterOAuthException'
with message '{"errors":[{"code":215,"message":"Bad Authentication data."}]}
Note this code works in production. 请注意,此代码可在生产环境中使用。 Any ideas whats going on with localhost?
任何想法本地主机怎么回事?
注释掉CURLOPT_CAPATH解决了该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.