Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    156
    Hello, someone ??
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice