Announcement

Collapse
No announcement yet.

PEAR not found

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PEAR not found

    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

  • #2
    perhaps you could try to set pear dir to:

    /usr/share/pear

    Comment


    • #3
      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 ...
      [Linux 2.4.20-28.7 - RedHat 7.2]
      [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
      [Apache 1.3.x, PHP 5.x, MySQL 5.x]
      [Apache 2.2.x, PHP 5.x, MySQL 5.x]
      [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

      Comment


      • #4
        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.

        Comment


        • #5
          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.

          Comment


          • #6
            Originally posted by makan
            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

            Comment


            • #7
              you need to change

              Code:
              $pear_path = $conf_installoreon['pear_dir'];
              to
              Code:
              $pear_path = "/usr/share/pear/";
              in your www/install/setup.php

              Comment

              Working...
              X