[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Don't understand if IMAP is running or not.
- Subject: Re: [cobalt-users] Don't understand if IMAP is running or not.
- From: Paul Schreiber <cheesefactory@xxxxxxxxx>
- Date: Sun Mar 26 23:45:55 2000
--- Bert Catsburg <bert@xxxxxxxxxxxx> wrote:
> I have a question on IMAP and PHP.
> I executed the following program on my RAQ2:
>
> <?
> $mailbox = imap_open("{mail.myserver.com}INBOX", "user", "password");
> $check = imap_check($mailbox);
> imap_close($mailbox);
> ?>
>
> The following error is returned:
> Fatal error: Call to unsupported or undefined function imap_open()
> in /home/sites/site5/web/imapchk.php3 on line 8\
>
> This should indicate that IMAP is not installed on the RAQ2.
> But when I do a "RPM -qa" command in telnet, I see that the
> rpm imap-4.4-2 is installed.
> What is this package and why does my program not work.
What I think it means is that you compiled PHP without the IMAP option. I
believe you need to do a ./configure with the --with-imap=XXXX option.
Paul
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com