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.

imap not compiled with php

Discussion in 'General Discussion' started by jb605, May 21, 2006.

  1. jb605

    jb605 Member

    Joined:
    Dec 5, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I tried to compile imap with php, but it does not get compiled even though I checked the box.

    The compile output regarding imap is:

    checking for cyrus imap support... no
    checking for IMAP support... no
    checking for IMAP Kerberos support... no
    checking for IMAP SSL support... no

    Don't understand why imap is not support, because that is what I am trying to recompile php to achieve.

    Does anybody have any idea why imap gets ignored when php is recompiled by running apache update?

    My WHM and Cpanel have been updated to the most recent version.

    I have searched the forum, read all imap related threads, none really mentioned any solution that works for me.

    Imap has been working fine before for two years, it is only missingly recently when I tried to recompile php with icon.

    Thanks much in advance.
     
    #1 jb605, May 21, 2006
    Last edited: May 21, 2006
  2. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    I am having the same issue.
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    What Php version are you trying to compile IMAP with?
     
  4. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    I'm using version 4.4.2
     
  5. jb605

    jb605 Member

    Joined:
    Dec 5, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Same here. I have tried all vailable version in cPanel. None of them will compile with imap.

    I also submitted a ticket to cpanel, but got one reply so far.

    ========================================================

    To: tickets@cpanel.net
    From: "xxxx" <xxxx@xxxx.com>
    Subject: imap does not compile with php
    Date: 2006-05-21 12:15:17

    Hi, I am trying to compile imap with php. Even though I checked the box in
    front of imap when updating apache, my php has no imap support.

    Can you please let me know why and how can I fix this?

    Server information:
    WHM 10.8.0 cPanel 10.8.1-S114
    RedHat Enterprise 3 i686 - WHM X v3.1.0

    Thanks.

    From: "xxxx" <xxxx@cpanel.net>
    Date: 2006-05-22 12:52:30

    Dear Customer,
    This is happening because you have some non-cpanel compatible RPMs installed,
    may I go ahead and uninstall these?
    --
    Thank You,
    Matt Dees
    Technical Support
    cPanel

    Did you know cPanel is hosting a training seminar? Find further
    information at
    http://trainingseminar.cpanel.net
    or call Billy Vierra at
    713 529 0800 x4033

    From: xxxx@xxxx.com
    Date: 2006-05-22 19:49:20

    Can you please tell me what RPMs do you mean? I don't want to break the server
    by uninstalling some crucial service.

    Please note I have imap running for more than one years without problem, it
    only occurs recently when I tried to recompile php to include iconv, then php
    does not pickup the imap option that I checked, for whatever reason.

    Thanks

    From: xxxx@xxxx.com
    Date: 2006-05-23 23:30:44

    Hi, would you please update the ticket and answer my question?

    Thanks,
     
  6. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    I have nothing but a stock cpanel setup and it wont compile with IMAP. I would try it again today, but I see a lot of people are having issues.
     
  7. jb605

    jb605 Member

    Joined:
    Dec 5, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, Zigzam.

    I am not really sure why cpanel would say it does not support imap. How does it check that? I'd appreciate if you or somebody can shed some light on this.
     
  8. maokob

    maokob Member

    Joined:
    Jan 20, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem.
    Has anyone found out why this happens???
     
  9. maokob

    maokob Member

    Joined:
    Jan 20, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I've just run easypache again. but still no luck.

    This is the code I'm getting.
    Code:
    ./buildscript: line 789: /usr/local/cpanel/src/3rdparty/bsd/imap/Makefile.new: No such file or directory
    mv: cannot stat `/usr/local/cpanel/src/3rdparty/bsd/imap/Makefile.new': No such file or directory
    ./buildscript: line 792: cd: /usr/local/cpanel/src/3rdparty/bsd/imap: No such file or directory
    make: *** No rule to make target `imap'.  Stop.
    
     
  10. xprt5

    xprt5 Well-Known Member

    Joined:
    Apr 6, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    Are these all x86_64, 64 bit systems you guys have with the imap issue?
     
  11. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    Yeah mine is a 64 bit.
     
  12. maokob

    maokob Member

    Joined:
    Jan 20, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    mine is not.
     
  13. kerriritter

    kerriritter Active Member

    Joined:
    Oct 25, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Courier-IMAP

    Could it be because CPanel is wanting everyone on Courier IMAP with maildir instead of the IMAP with mbox services so regular IMAP no longer compiles?

    Courier-IMAP made a horrible mess of all the mailboxes on one server and I asked them for help in correcting them. Their response:

    "There is no easy way to accomplish this. Our priority is getting everyone converted to maildir. If you are experiencing problems with courier/maildir, you should submit a ticket so that we can help you get courier/maildir running successfully on your server."
     
  14. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Well its probably failing on the compile. Did you run it under VERBOSE? If it fails to compile like many of the modules like FLASH fail to compile it wont be included or your php will fail to work at all.
     
  15. maokob

    maokob Member

    Joined:
    Jan 20, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I updated to the latest release. then compiled with imap module.
    guess what.

    fixed! :D :D :D
     
  16. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    So we dont need IMAP module if we are running Courier? Is that what everyone is saying?
     
  17. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    I thought the IMAP module was only needed if you wanted to run php scripts that required IMAP functionality, like a support ticketing system or some such thing. Maybe somebody else could clarify this.
     
  18. xprt5

    xprt5 Well-Known Member

    Joined:
    Apr 6, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    This has been fixed in the new buildapache.sea available at http://layer2.cpanel.net or just remove the one currently in /home/cpapachebuild/ then run /scripts/easyapache again and it will auto grab the newest one and compile Apache/PHP with it.
     
  19. yourwayit

    yourwayit Member

    Joined:
    May 25, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Since the update we've been having a similar issue but I ran across this wonderful error :

    : /usr/local/cpanel/src/3rdparty/bsd/imap-2004g: No such file or directory
    make: *** No rule to make target `imap'. Stop.

    Hard to compile something that doesn't exist. I checked and the imap-2004g in fact does not exist, but imap-2002e-cpanel/ does.

    I suspect that if you find the source for this package into the directory it will start working after compiling again but I have not tested this yet.
     
  20. yourwayit

    yourwayit Member

    Joined:
    May 25, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    ok. The problems seems to be that the buildscript being used by easyapache has an invalid make command entered for imap :

    make imap

    No such argument exists in the imap-2004g. It should be make slx instead. I don't know how to get the change to 'stick' though, everytime I edit the file it reverts back to the original within a couple of seconds.

    Does anyone know how to permanently edit the buildscript file?
     
Loading...
Similar Threads - imap compiled php
  1. Chris-777
    Replies:
    3
    Views:
    420

Share This Page