从 Janrain 设置 openid 连接时,我面临以下问题。
为了测试,我已将其上传到服务器的以下文件夹中:
/home/xyz/public_html/openid
当我从示例文件夹(/openid/examples/detect.php)运行检测文件时,它给了我以下错误:
OpenID Library Support Report
This script checks your PHP installation to determine if you are set up to use the JanRain PHP OpenID library.
Setup Incomplete
Your system needs a few changes before it will be ready to run the OpenID library.
Math support
Your PHP installation has gmp support. Good.
Cryptographic-quality randomness source
The library will try to access /dev/urandom as a source of random data. It seems to exist and be readable. Here is some hex data: 967ee0b38961.
Data storage
Support was found for mysql. The library supports the MySQL, PostgreSQL, and SQLite database engines, as well as filesystem-based storage. In addition, PEAR DB is required to use databases.
The open_basedir configuration restriction is not in effect.
If you are using the filesystem store, your data directory must be readable and writable by **mydomain** and not available over the Web.
HTTP Fetching
This PHP installation has support for libcurl. Good.
An HTTP request was completed. An unexpected URL was returned: https://gist.githubusercontent.com/chuckpearce/6810258/raw/c57eff55ebc0af5f72bac72762cf4f4/gistfile1.txt.
Your PHP installation appears to support SSL, so it will be able to process HTTPS identity URLs and server URLs.
XML Support
XML parsing support is present using the Auth_Yadis_dom interface.
Query Corruption
Your web server does not corrupt queries. Good.
我认为 open_basedir 可能有问题,所以我在 public_html 文件夹中的 php.ini 中添加了以下代码:
open_basedir = /home/xyz/public_html:/tmp
我怎样才能解决这个问题?
另外,我使用这个外部的 codeigniter 作为一个单独的提供者。
谢谢