Re: Failed opening required 'DB.php'
| From: | webmaster de planetevoyage.com | Date: | Tue, 20 Apr 2004 07:37:43 +0000 |
| Subject: | Re: Failed opening required 'DB.php' | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11962@lists.php.net to get a copy of this message | ||
The syntax for your include_path seems strange.
Try
include_path=".:/usr/share/PEAR"
For checking the include path use :
echo get_include_path();
J. CHABAUD
Selon Ben Gao <s_bengao@hotmail.com>:
> Hi,
>
> Thank you very much for your help. Below is Pear path and details file
> structure. It seems no problem there. Here is php.ini include path:
> include_path
> .:/usr/share/PEAR .:/usr/share/PEAR
>
>
> [root@cpanel PEAR]# pwd
> /usr/share/PEAR
> [root@cpanel PEAR]# ls -al
> total 127
> drwxrwxrwx 18 apache apache 1024 Apr 5 02:24 .
> drwxr-xr-x 35 root root 1024 Apr 5 02:33 ..
> -rw-r--r-- 1 apache apache 6 Apr 5 02:24 .filemap
> -rw-r--r-- 1 apache apache 0 Apr 5 02:24 .lock
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 .registry
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 Archive
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 Console
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 DB
> -rwxrwxrwx 1 apache apache 33812 Apr 5 02:24 DB.php
> drwxr-xr-x 3 apache apache 1024 Apr 5 02:24 HTML
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 Mail
> -rw-r--r-- 1 apache apache 7331 Apr 5 02:24 Mail.php
> drwxr-xr-x 3 apache apache 1024 Apr 5 02:24 Net
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 OS
> drwxr-xr-x 4 apache apache 1024 Apr 5 02:24 PEAR
> -rw-r--r-- 1 apache apache 29932 Apr 5 02:24 PEAR.php
> drwxr-xr-x 3 apache apache 1024 Apr 5 02:24 PHPUnit
> -rw-r--r-- 1 apache apache 2355 Apr 5 02:24 PHPUnit.php
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 Pager
> -rw-r--r-- 1 apache apache 17962 Apr 5 02:24 System.php
> drwxr-xr-x 3 apache apache 1024 Apr 5 02:24 XML
> drwxr-xr-x 2 apache apache 1024 Apr 5 02:24 cache
> drwxr-xr-x 3 apache apache 1024 Apr 5 02:24 data
> drwxr-xr-x 8 apache apache 1024 Apr 5 02:24 docs
> -rw-r--r-- 1 apache apache 9487 Apr 5 02:24 pearcmd.php
> drwxr-xr-x 7 apache apache 1024 Apr 5 02:24 tests
>
> What possible went wrong?
>
> Thank You
>
> Ben
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
J. CHABAUD
webmaster@planetevoyage.com