Find the answer to your Linux question:
Results 1 to 5 of 5
Hello there fellow members. I wanted to have email bounce function in my script but the script asks me to install php-imap in order to process bounces. So i installed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    13

    problem installing PHP-IMAP


    Hello there fellow members.
    I wanted to have email bounce function in my script but the script asks me to install php-imap in order to process bounces.

    So i installed php-imap by:
    sudo yum install --disableexludes=all php-imap

    and it says it's installed.

    And i followed directadmin's instruction to add these two lines to new file i create configure.php5 in /usr/local/directadmin/custombuild/custom/ap2

    and built php by this command:
    ./build php n

    After it was being built there comes this error:

    ----------------------
    [b]/usr/local/directadmin/custombuild/custom/ap2/configure.php5: line 37: --with-imap=/usr/lib/doveco/imap: No such file or directory

    *** There was an error while trying to configure php. Check the custom/ap2/configure.php5 file[b]

    is this line wrong? but i followed it from directadmin's official instruction.
    What am i doing wrong here?

    thank you

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Hello and welcome!

    It sounds like you need dovecot (an IMAP server) installed. Try this:

    Code:
    sudo yum install dovecot

  3. #3
    Just Joined!
    Join Date
    Feb 2013
    Posts
    13
    Hi, i installed dovecot and dovecot folder problem is not there anymore but imap is there:
    /usr/local/directadmin/custombuild/custom/ap2/configure.php5: line 32: --with-imap=/usr/lib/dovecot/imap: No such file or directory

    i had installed php-imap before:
    Package php-imap-5.1.6-39.el5_8.x86_64 already installed and latest version

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    What is your configure.php5 command supposed to be doing, exactly? Can you provide a link to the instructions that you are following?

    There is some discussion of php and imap for directadmin discussed here.

  5. #5
    Just Joined!
    Join Date
    Feb 2013
    Posts
    13
    Yes i follow the directadmin's instruction:

    w.w.w.directadmin.com/imap.txt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •