Results 1 to 7 of 7

Thread: DirectAdmin, IMAP and PHP-JSON Module

  1. #1
    toddr1234 is offline Member
    Join Date
    Nov 2006
    Posts
    5

    Default DirectAdmin, IMAP and PHP-JSON Module

    Anyone have any success installing the latest Sugar CRM on DirectAdmin?

    I have installed it but during the installing it does a system check to see if the system has everything Sugar needs to run.

    Most things check out but under optional components I get:

    IMAP Module Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.

    AND

    PHP-JSON Module (v 1.1.1) Not found: The PHP-JSON PHP module reaps enormous performance benefits.


    When looking at phpinfo() it says the IMAP module is installed so I am not sure what the issue is with IMAP.

    I made the fatal mistake of running "yum install php-imap" on a production DirectAdmin system and it took out my apache. I was able to get it back by recompiling apache to the latest version.

    So, looking for help from someone who has been down this road with DirectAdmin. Need to know how to get the IMAP thing satisfied in Sugar as well as this PHP-JSON thing I never heard of.

    Thanks in advance for any help.

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: DirectAdmin, IMAP and PHP-JSON Module

    Need a bit more information for you to get help. What OS, webserver,php versions?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    toddr1234 is offline Member
    Join Date
    Nov 2006
    Posts
    5

    Default Re: DirectAdmin, IMAP and PHP-JSON Module

    Sorry about that..

    Fedora 4
    Apache 2 (custom build for DirectAdmin control panel, by DirectAdmin not me)

    [root@chida1 toddr]# php -version
    PHP 4.4.1 (cli) (built: Nov 28 2005 14:27:07)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


    Seems now when I run php -m there is no IMAP showing.. This is different than what was shown before I upgraded Apache.

    I guess at this point I am totally confused.

    One problem here is that many times instructions for staight Apache or PHP changes either do not work or break things in a control panel environment such as DirectAdmin. Last night I blew up and took down Apache which was really bad..

    [root@chida1 toddr]# php -m
    [PHP Modules]
    bcmath
    calendar
    ctype
    curl
    ftp
    gd
    gettext
    mbstring
    mcrypt
    mhash
    mysql
    openssl
    overload
    pcre
    posix
    session
    sockets
    standard
    tokenizer
    xml
    zip
    zlib

    [Zend Modules]

  4. #4
    toddr1234 is offline Member
    Join Date
    Nov 2006
    Posts
    5

    Default Re: DirectAdmin, IMAP and PHP-JSON Module

    OK, looks like I got the IMAP stuff installed by using this:
    http://www.directadmin.com/imap.txt

    Now I am on to the JSON module, any clues as to how I get this installed?

    Do I just add a --with-json to the configure.php and recompile again? Do I have the name right?

  5. #5
    toddr1234 is offline Member
    Join Date
    Nov 2006
    Posts
    5

    Default Re: DirectAdmin, IMAP and PHP-JSON Module

    Quote Originally Posted by toddr1234
    Do I just add a --with-json to the configure.php and recompile again? Do I have the name right?
    Never mind, I tried that and it didn't work.

    After recompiling and restarting Apache, then running php -m I don't see it.

    Hmm..

    Also, I ended up with this:
    PHP Version Unsupported PHP Version Installed: ( ver 4.4.4 )

    This happened I guess when I recompiled PHP somehow.. Doh!

    Is this going to be a problem for Sugar?

  6. #6
    albatroz is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    34

    Talking Re: DirectAdmin, IMAP and PHP-JSON Module

    Checkout my post in Directadmin forums regarding the same issue

    http://www.directadmin.com/forum/sho...highlight=json
    Kind regards
    Alejandro,
    www.vohosting.com | SugarCRM-friendly web host

  7. #7
    luizfat is offline Member
    Join Date
    Aug 2007
    Posts
    8

    Default Re: DirectAdmin, IMAP and PHP-JSON Module

    I've resolved IMAP stuff by running "yum install php-imap" and it is all good.

    Regards,

    Fernando

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •