NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: PHP5 & IMAP

Andrew Yochum andrew at digitalpulp.com
Fri Aug 27 14:33:14 EDT 2004


On Fri, Aug 27, 2004 at 02:26:00PM -0400, Joseph Crawford Jr. wrote:
> i should also mention the error i am getting is this
> 
>  Fatal error: Call to undefined function imap_open() in D:\htdocs\NmlForum\index.php on line 2 
> 
> when using this code just to test and make sure it was working.
> 
> <?
> $nntp = imap_open("nntp.idg.pl", "", "");
> echo $nntp;
> imap_close($nntp);
> ?>

Sounds like you need to compile PHP5 with the --with-imap option, turn on the
module in your php.ini, or load it with dl().  In other words, you're missing
the IMAP support module.

Andrew



More information about the talk mailing list