私はQuickbooks PHP APIを使用しており、allow_url_fopenをtrueに設定するとうまくいきます。allow_fopen_urlを使用したPHP Quickbooks APIの問題
But when we set allow_url_fopen to false then this API is not working.
I found that fetch function of OAuth library is not getting any response.
When I debug, it gives error like this "Fatal error: Uncaught exception 'OAuthException' with message 'making the request failed (dunno why)' "
OAuthを使用するには、allow_url_fopenをtrueに設定する必要があります。
APIはOAuthライブラリを使用しています。コンテンツを取得するには、fetch(http://php.net/manual/en/oauth.fetch.php)関数を使用しています。 – Apoorva
fetchメソッドは、前述の関数のいずれかを使用している可能性が最も高いです。 oAuthライブラリを使用しているので、libcurlを使ってコンパイルすることは可能ですが、lib curlはallow_url_fopenの設定を考慮していません。 –