当使用JanRain OpenID PHP库与MySQL时,似乎缺少文件


Seemingly missing file when using JanRain OpenID PHP library with MySQL

我刚刚设置了PHP的JanRain OpenID库(https://github.com/openid/php-openid)。我试图使用示例服务器文件,我得到的错误是:

警告:require_once(DB.php): failed to open stream: No such file or directory in/path/to/file/examples/server/config.php on line 28

我已经搜索了这个包,没有找到任何这样的文件(DB.php)。我没有看到它被生成。我使用的配置文件是由JanRain库的setup.php脚本生成的。

有没有人能告诉我这个文件(库似乎期望的)是什么,以及我如何获得它?

DB.php是pear DB包的一部分,

#pear install DB

for centos 6。x

#pear install DB-1.8.2

谢谢http://nobuneko.com/blog/archives/2016/01/php_533_pear_install_db_failed_php_540_higher.html