The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PEAR and 2 directories - Why ???

Discussion in 'General Discussion' started by garak, May 3, 2005.

  1. garak

    garak Active Member

    Joined:
    Jan 23, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Two PEAR locations - Why ???

    In my cPanel box I have 2 PEAR locations:


    /usr/lib/php and /usr/local/lib/php

    When I install a PEAR package (pear install date), this install in /usr/local/lib/php and the scripts can't find it.

    But, if I move the package to /usr/lib/php, the script can find and use it.

    In my httpd.conf everything is right:

    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/user/:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>


    Why this happens?
     
    #1 garak, May 3, 2005
    Last edited: May 3, 2005
  2. garak

    garak Active Member

    Joined:
    Jan 23, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Hello, someone ??
     
Loading...

Share This Page