我遇到了PEAR(PHP)的问题。这是错误:
Warning: require_once(DB.php): failed to open stream: No such file or directory in /WWW/xxx.php on line 2
Fatal error: require_once(): Failed opening required 'DB.php' (include_path='.:/usr/share/php:/usr/share/pear') in /WWW/xxx.php on line 2
我已经安装了PEAR(版本1.9.0) 在我的PHP文件中,前两行是:
1- <?php
2- require_once('DB.php');
问题出在哪里? 谢谢大家!