LightOpenID を使用して、PHP Web アプリケーションで Google 認証を有効にしています。
ただし、ローカルサーバーで同じことをテストすると、次のエラーが発生します
( ! ) Fatal error: Uncaught exception 'ErrorException' with message 'You must have either https wrappers or curl enabled.' in C:\wamp\www\speakerdb\openid.php on line 94
( ! ) ErrorException: You must have either https wrappers or curl enabled. in C:\wamp\www\speakerdb\openid.php on line 94
Call Stack
# Time Memory Function Location
1 0.0006 366848 {main}( ) ..\index.php:0
2 0.0034 648640 LightOpenID->__construct( ) ..\index.php:4
これは私のリモートサーバーで問題なく動作します。アプリケーションの各ページで LightOpenID を使用して、ユーザーがサインインしているかどうかを確認します。ドメイン名として「localhost」を指定しようとしましたが、同じエラーが発生します。
wamp サーバーで curl を有効にしましたが、curl が有効になっていると LightOpenID を含むページが実行されません。