problem to install pear

Discussion in 'Installation/Configuration' started by lucian0308, Nov 17, 2010.

  1. lucian0308

    lucian0308 New Member

    i try to install pear

    i have a Debian Lenny (Debian 5.0)

    i install it ok , it work in ssh

    but i can't get the files from any site account

    can you tell my what to check?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What exactly are you trying to do? Any error messages?
     
  3. lucian0308

    lucian0308 New Member

    problem is that i don't have acces to the pear files

    is about pear.php.net

    to use pear in my site
    i need to write require_once "PEAR.php";

    and when i write that i give an error that it don't find the file
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    updatedb
    locate PEAR.php
    ?
     
  5. lucian0308

    lucian0308 New Member

    hosting:~# locate PEAR.php
    /usr/share/php/PEAR.php
    /usr/share/php/Auth/Container/PEAR.php
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Make sure you have
    Code:
    include_path = ".:/usr/share/php"
    in your php.ini. Alternatively, you could try
    Code:
    require_once "/usr/share/php/PEAR.php";
     
  7. lucian0308

    lucian0308 New Member

    i set include_path same at you say, i know about that

    when i use require_once "/usr/share/php/PEAR.php";
    say that i don't have acces to that file

    i have a solution to set open_basedir in ipsconfig options
    and include path to pear in that open_basedir
    but i need to set it to every account and it is not a nice solution

    and i read sameting about a open_basedir security issue
    i don't know very much about this.
     

Share This Page