Forum Moderators: coopster

Message Too Old, No Replies

PEAR "not found. error"

include_path?

         

henry0

11:26 am on May 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am not able to get PEAR working
And got the “not found etc… error”
When including a pear function
For ex:
require_once('Mail.php');
require_once('Mail/Mime.php');
(further I know that mail mime require SOAP)
How do I fugure if SOAP is installed?

Since PEAR is by default present in PHP
I was under the impression that it should open any pear () as any php integrated function?

My php.ini include_path as of now is:
include_path = ".:/usr/local/lib/php"
Do I have to change it
Thanks

eelixduppy

12:50 pm on May 23, 2007 (gmt 0)



PEAR's FAQ [pear.php.net] might address your problem with the undefined functions. If not, you might have an older version of PHP were it does not come bundled, or it may be disabled for one reason or another. Are you running Windows on the server? As for SOAP, what does phpinfo() give you?

henry0

1:18 pm on May 23, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks,
I will review the faq
I know that Pear is installed
but I did not know that SOAP addition could show up in phpinfo() and it is not there!
so I need to install SOAP
however I cannot even simply (without looking for PEAR) comm with PEAR; my PHP runs on RH business and my PHP is 5++
all on a dedicated server.

coopster

1:04 pm on May 30, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



SOAP depends on Mail_mime, henry0, but not the other way around. You can use Mail_mime without SOAP installed.