AW: [PHP] Re: pear problem
| From: | Moritz Steiner | Date: | Wed, 27 Aug 2003 07:06:20 +0000 |
| Subject: | AW: [PHP] Re: pear problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160874@lists.php.net to get a copy of this message | ||
Hi,
yes, the directory the /usr/php/pear/share/pear is included, the error message is:
Warning: main(PEAR.php): failed to open stream: No such file or directory in
/usr/php/pear/share/pear/SOAP/Base.php on line 37
Fatal error: main(): Failed opening required 'PEAR.php'
(include_path='/usr/php/pear/share/pear') in /usr/php/pear/share/pear/SOAP/Base.php on
line 37
Moritz
-----Ursprüngliche Nachricht-----
Von: Catalin Trifu [mailto:catalin@isp-software.de]
Gesendet: Dienstag, 26. August 2003 16:53
An: php-general@lists.php.net
Betreff: [PHP] Re: pear problem
Hi,
Did you added the /usr/php/pear/share/pear in the php.ini
include_path option ?
Besides the mime is part of Mail_Mime extension and
SOAP needs some extensions too (don't remember exactly which)
so check if all requirements are met.
btw! what's the error message when it crashes ?
Cheers,
Catalin
"Moritz Steiner" <Moritz.Steiner@cern.ch> wrote in message
news:AB75A8317B060B41B0BD35A48551F8768DBC1E@cernxchg10.cern.ch...
I've a problem with pear, only the DB.php and the Mail.php are working,
all the others I installed don't work.
Installed packages:
===================
Package Version State
DB 1.5.0RC1 stable
HTTP_Request 1.1.1 stable
Mail 1.1.1 stable
Mail_Mime 1.2.1 stable
Net_DIME 0.3 beta
Net_URL 1.0.10 stable
SOAP 0.8RC1 beta
When I have a look into the directory, it's like that:
[lxcmsb3] /usr/php/pear/share/pear > l
total 72
drwxr-xr-x 6 root root 4096 Aug 26 16:24 SOAP
drwxr-xr-x 6 root root 4096 Aug 26 16:24 docs
drwxr-xr-x 2 root root 4096 Aug 26 16:24 HTTP
drwxr-xr-x 2 root root 4096 Aug 26 16:24 Net
drwxr-xr-x 4 root root 4096 Aug 26 16:24 tests
drwxr-xr-x 2 root root 4096 Aug 26 16:24 Mail
drwxr-xr-x 3 root root 4096 Aug 26 16:24 data
-rw-r--r-- 1 root root 7331 Aug 26 16:23 Mail.php
drwxr-xr-x 2 root root 4096 Aug 26 16:23 DB
-rw-r--r-- 1 root root 29165 Aug 26 16:23 DB.php
In this code snipplet the first three lines work very well, but when I
try to access a subdirectory it crashes...
1 require 'DB.php';
2 $db = DB::connect('mysql://mysql:mysql@localhost/mysql);
3 require 'Mail.php';
4 require 'Mail/mime.php';
It's exactly the same with require 'SOAP/Client.php' instead of line 4
Please help me.
Moritz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php