PHP-PEAR require_once('DB.php');

后端 未结 2 700
独厮守ぢ
独厮守ぢ 2021-01-15 16:34

I\'ve a problem with PEAR (PHP). This is the error:

Warning: require_once(DB.php): failed to open stream: No such file or directory in /WWW/xxx.php on line 2         


        
相关标签:
2条回答
  • 2021-01-15 16:49

    You need to install the module:

    pear install DB
    

    Although this page gives a warning about this package being superseded (not deprecated) by MDB2.

    0 讨论(0)
  • 2021-01-15 16:55

    You can also install module without using pear:

    With Fedora/CentOS:

    • yum install php-pear-DB

    With Debian/Ubuntu:

    • apt-get install php-db

    -- Dario

    0 讨论(0)
提交回复
热议问题