Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 7 of 7

This is a discussion on Rotten PEAR in the VPS & Dedicated forum
Alright, so PEAR is installed on my Linux VPS, I installed the Password package fine, I have set my include path in php.ini to 'usr/share/pear' ...

  1. #1
    JPC Addict
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    135

    Rotten PEAR

    Alright, so PEAR is installed on my Linux VPS, I installed the Password package fine, I have set my include path in php.ini to 'usr/share/pear' and this path is showing in phpinfo.

    So why am I still getting:

    Warning: include(Text/Password.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/mydomain/httpdocs/test.php on line 2

    Warning: include() [function.include]: Failed opening 'Text/Password.php' for inclusion (include_path='.:usr/share/pear') in /var/www/vhosts/mydomain/httpdocs/test.php on line 2


    What am I missing?

  2. #2
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    I think it should probably be /usr/share/pear and not usr/share/pear.
    We could help you if you open a support ticket.
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Yes, as Veena pointed out, you are missing the leading slash in front of the PEAR path (/usr/share/pear). Without it PHP is looking for /var/www/vhosts/mydomain/httpdocs/usr/share/pear, which most likely doesn't exist.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  4. #4
    JPC Addict
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    135
    Quote Originally Posted by JPC-Veena View Post
    I think it should probably be /usr/share/pear and not usr/share/pear.
    We could help you if you open a support ticket.
    Apologies, the path I used is /usr/share/pear. It doesn't work.

    I opened a support ticket before I tried the forum - I was told it wasn't their problem.

  5. #5
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    Please provide the ticket number here.
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

  6. #6
    JPC Addict
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    135
    Quote Originally Posted by JPC-Veena View Post
    Please provide the ticket number here.
    12578006

  7. #7
    JPC Addict
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    135
    Apparently "The path to pear /usr/share/pear had to be included in your domain's open_basedir path too."

    Thanks Veena.

Bookmarks

Posting Permissions

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