[imp] How to activate IMAP with Horde? (imap_utf7_encode problem)

Thomas GUTHMANN tom@calixo.net
Fri, 13 Oct 2000 11:29:50 +0200


Lothar Seitter wrote:

See the faq at ... euh wait some seconds ...

http://www.horde.org/faq/admin/prereq/index.php#p8

Hope it will help you


> I found some articles in the archives but nothing
> seems to be appropriate:
>
> > I have been so foolish .. ihad not installed the php-imap module .Now everything
> > works fine.
>
> This means dynamic modules? I compiled Apache and PHP static.
> If not: How to install php-imap module???
>
> > You need to setup the IMAP extensions with PHP.  This involves
> > specifying --with-imap to configure when preparing to compile it and
> > possibly (when you specify --with-imap to PHP4 IMAP just gets compiled into
> > the main binary, not sure about PHP3) adding it to php.ini to have it
> > loaded.  You can also compile it separately and then add it to php.ini.
>
> When I try to include dynamic extensions like imap.sl Apache complains,
> since I compiled Apache statically.
>
> The error when calling IMP is:
>
> Fatal error: Call to undefined function: imap_utf7_encode() in /opt/horde/lib/horde.lib on line 440
>
> My Configuration:
> * apache        1.3.12
> * php           4.0.2
> * horde         1.2.3
> * imp           2.2.3
>
> The output of test.php3 is "PHP Module Capabilities     IMAP Support: No"
>
> phpinfo() displays:
>
> Loaded Modules                    mod_php4, mod_setenvif, mod_auth, mod_access, mod_alias, mod_userdir,
>                                   mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex,
>                                   mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config,
>                                   mod_env, http_core
>
> => imap is included in PHP!?
>
> Any help appreciated,
>
> Lothar
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org