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 modules

Discussion in 'General Discussion' started by Zion Ahead, Sep 9, 2007.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Trying to install Cerberus Help Desk and it gives this message during requirement check:

    The following problems prevent you from running Cerberus Helpdesk 4.0:
    upload_tmp_dir is empty in your php.ini file. Please set it.
    The 'MailParse' PHP extension is required. Please enable it.
    The 'Mail' PEAR package is required. Please install it.
    The 'Mail_Mime' PEAR package is required. Please install it.
    The 'Mail_mimeDecode' PEAR package is required. Please install it.
    The 'Mail_RFC822' PEAR package is required. Please install it.
    The 'Text_Password' PEAR package is required. Please install it.


    Could someone clarify how to apply this (on a vps) safely? Thank you. Using Centos 4.5.

    The cerberus install guide says to run this:

    pear install --alldeps Mail
    pear install --alldeps Mail_Mime
    pear install --alldeps Text_Password
    pear install --alldeps Image_GraphViz
    pear install --alldeps Testing_Selenium-beta
    pear channel-discover pear.phpunit.de
    pear install --alldeps phpunit/PHPUnit

    However....


    pear install --alldeps Mail
    ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    You will have to do exactly what the cerberus install guide says. Install all the pear modules. For the error you receive while installing 'Mail', you will have to edit php.ini file which resides in /usr/local/lib/ and have to set

    register_argc_argv=Off
    to
    register_argc_argv=On
     
  3. helpline

    helpline Guest

    horde showing blank page

    1. complile apache on server to support mysql and mysqli
    2. /scripts/makecpphp
    3. Edit /usr/local/cpanel/3rdparty/etc/horde/php.ini

    Search for the [Session] variable & underneath it, change the following

    Replace:
    -------------------------------
    session.save_handler = sqlite
    session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb
    -------------------------------
    To:
    -------------------------------
    session.save_handler = files
    session.save_path = /tmp
    -------------------------------

    3. install pear modules

    pear install --alldeps Mail
    pear install --alldeps Mail_Mime
    pear install --alldeps Text_Password
    pear install --alldeps Image_GraphViz
    pear install --alldeps Testing_Selenium-beta
    pear channel-discover pear.phpunit.de
    pear install --alldeps phpunit/PHPUnit
    pear install log
    pear install DB

    Once this is done

    cd /usr/local/cpanel/base/horde
    php login.php
     
Loading...

Share This Page