Is PEAR installed? (PHP Extension and Application Repository)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schittli
    Junior Member
    • Apr 2004
    • 19

    Is PEAR installed? (PHP Extension and Application Repository)

    Good evening

    As we have on Dathorn PHP > 4.3.0 PEAR is usually installed automatically...
    but it is no problem to exclude it during installation and I don't know how I
    can test if PEAR is installed.

    Does someone know if PEAR is ready to use?

    Thanks a lot in advance!,
    kind regards,
    Thomas
    Schittli
  • Elite
    Senior Member
    • Apr 2004
    • 168

    #2
    Not sure but phpinfo reports php was compiled '--with-pear' on cpanel15

    HTH

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3653

      #3
      PEAR should be installed on every server.

      Comment

      • schittli
        Junior Member
        • Apr 2004
        • 19

        #4
        Thanks a lot for your fast answers! So I don't go to try install PEAR...
        Kind regards,
        Thomas

        Comment

        • rouho
          Junior Member
          • Jul 2004
          • 4

          #5
          Hi I am trying to connect to a db using db PEAR class but I am getting errors? Any ideas.

          Thanks

          Comment

          • AndrewT
            Administrator
            • Mar 2004
            • 3653

            #6
            It is possible that the PEAR module is not installed. What error are you receiving exactly?

            Comment

            • rouho
              Junior Member
              • Jul 2004
              • 4

              #7
              Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /home/**user**/public_html/new/db_connect.php on line 5

              Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/**user**/public_html/new/db_connect.php on line 5

              Comment

              • AndrewT
                Administrator
                • Mar 2004
                • 3653

                #8
                Looks like that particular PEAR module is not installed on your server. Submit a ticket and we'll get it taken care of for you.

                Comment

                Working...