Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Location
    Atlanta, GA
    Posts
    541

    Compile question

    how do i compile IMAP_ into PHP?

    my phpinfo says the following '--with-imap=../../bsd/imap' does that means it's already compiled?
    -

    Configure Command

    './configure' '--enable-static' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-zlib' '--with-imap=../../bsd/imap' '--enable-ftp' '--with-gettext' '--with-xml' '--enable-track-vars' '--enable-sockets' '--with-mysql' '--with-pgsql' '--with-config-file-path=/usr/local/cpanel/3rdparty/etc' '--prefix=/usr/local/cpanel/3rdparty'

  2. #2
    Join Date
    Jun 2003
    Location
    Janesville, Wi
    Posts
    1,516
    I wouldn't recommend using that style for configuration. Locate the actual /path/to/bsd/imap and use that instead.

  3. #3
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,099
    Yes, its already compiled if that's what your phpinfo() says.

    Another way to check is to run this code:
    PHP Code:
    <?php
    if (function_exists('imap_open')) {
       echo 
    "IMAP functions are available.<br />\n";
    } else {
       echo 
    "IMAP functions are not available.<br />\n";
    }
    ?>
    From http://www.php.net/function_exists
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

Posting Permissions

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