[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Don't understand if IMAP is running or not.



On Mon, Mar 27, 2000 at 12:21:33AM +0200, Bert Catsburg wrote:
:   Fatal error: Call to unsupported or undefined function imap_open()
:   in /home/sites/site5/web/imapchk.php3 on line 8
: "

PHP was not compiled with IMAP support.  Most Linux distributions give you
a basic install for PHP, since they don't know what you will and will not
be using and installing on the system.  If it is compiled with say, mysql,
ldap, and postgress support, then you need the devel libs for each of 
those installed.  I have successfully compiled PHP with ldap.mysql, and
IMAP support on a raq2.  It did require getting the latest version of 
IMAP, compiling that (as an RPM) and ONLY installing the develop libraries.
 
: 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.

No, it indicates that the IMAP libraries are not installed, which is usually
the case.  Most people do not use them.
 
: I did check the whole filesystem for a file called imap*.so,
: but nothing found. So, I guess it's ok that the program does not
: work because PHP has no IMAP thingy to talk to.
: But, what is this RPM then?

The RPM  is for the IMAP server (was well as a pop3 server).  You can
always check which files are included in a RPM by typing.

rpm -ql <package> (ei: rpm -ql imap)

-- 
Mat Kovach                                      mkovach@xxxxxxxxxxxxxxxxx
Cleveland Linux User Group                       http://cleveland.lug.net