Results 1 to 8 of 8

Thread: Is PEAR installed? (PHP Extension and Application Repository)

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    19

    Default 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

  2. #2
    Senior Member
    Join Date
    Apr 2004
    Location
    Manchester, UK
    Posts
    168

    Default

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

    HTH

  3. #3
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,640

    Default

    PEAR should be installed on every server.

  4. #4
    Junior Member
    Join Date
    Apr 2004
    Posts
    19

    Default

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

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    4

    Default

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

    Thanks

  6. #6
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,640

    Default

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

  7. #7
    Junior Member
    Join Date
    Jul 2004
    Posts
    4

    Default

    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

  8. #8
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,640

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •