PDA

View Full Version : PEAR not found


Prometheus
26th May 2006, 15:37
Hi,

page 4 (Verifying Configuration) of oreon 1.3 setup couldn't find PEAR ("Warning: PHP Pear not installed (not found in include_path)").

I set the following path
$conf_installoreon['pear_dir'] = "/usr/share/php";
which contains the PEAR.php and the folder PEAR.

What exactly does the setup expect to find in the pear_dir?


Thank you
Peter

makan
26th May 2006, 18:17
perhaps you could try to set pear dir to:

/usr/share/pear

cih
29th May 2006, 13:34
I think Prometheus has it in the right way, in my configuration the pear dir is /usr/local/lib/php, but I think is the same as Prometheus has (i'm in a OpenSuSE 10), the path to PEAR.php file and PEAR dir ... I don't understand why is not getting that path ok ...

brettc
28th July 2006, 03:06
I'm having the same issue with PEAR as Prometheus was having. I followed the directions verbatim and for some reason, it won't find PEAR. What's odd though is the directions don't specify that you need to install PEAR. So I used apt-get install php4-pear after I installed Oreon.

I've used both the /usr/share/pear and /usr/share/php. When trying to find | grep DB-1.7.6 or the other files it's saying it need, I can't find it.

brettc
28th July 2006, 07:05
I reformmated, went back through the instructions but added apt-get install php4-pear, and still had problems when running ./install.sh, so I backed out of it. I then installed the command line download manager from PEAR (I don't know if that had anything to do with it), then I proceeded to change the default path for pear to /usr/local/php and it went through well.

NetCog
4th August 2006, 05:49
perhaps you could try to set pear dir to:

/usr/share/pear

how does one do this?

(I'm a newbie to Linux as of Monday)

nm... reran ./install.sh from within the oreon directory

makan
5th August 2006, 19:18
you need to change

$pear_path = $conf_installoreon['pear_dir'];
to
$pear_path = "/usr/share/pear/";

in your www/install/setup.php