Page 1 of 1

How to install imap with php module

Posted: 2010/11/03 12:29:19
by makwazir
Hi;
I want to install IMAP with PHP so please guide me in step by step because I am doing it first time. My operating system name is Centos 5 x86_64 Standard. I need fast response from you.


Regards
Wazir :-o

How to install imap with php module

Posted: 2010/11/03 13:18:48
by gerald_clark
Welcome to CentOS.
New users need to read: http://www.centos.org/modules/newbb/viewforum.php?forum=47

Your question makes no sense. What are you really trying to accomplish?

If you really need fast response, I suggest you run RHEL, and pay for support.

Re: How to install imap with php module

Posted: 2010/11/03 14:11:43
by pschaff
Please do review [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url] as [b]Gerald[/b] recommended.

PHP and IMAP are not really related at all.

If trying to set up a mail server with IMAP the Wiki [url=http://wiki.centos.org/HowTos/postfix?highlight=%28IMAP%29]/HowTos/postfix[/url] article may be useful.

As to PHP, the following yum query will give you some clues as to the available packages:[code]yum list \*php\*[/code]

If you need more help, please return with a [url=http://www.catb.org/~esr/faqs/smart-questions.html]smart question[/url] in order to get more helpful answers.

Re: How to install imap with php module

Posted: 2010/11/03 15:00:47
by markkuk
[quote]
pschaff wrote:
PHP and IMAP are not really related at all.

[/quote]
There's an IMAP extension to PHP: http://www.php.net/manual/en/book.imap.php
It's pretty useful e.g. for a webmail system. It's also included in the CentOS distribution in the php-imap package.

Re: How to install imap with php module

Posted: 2010/11/03 15:09:27
by pschaff
Thanks for the correction. With that guidance, I find [code]
Available Packages
Name : php-imap
Arch : x86_64
Version : 5.1.6
Release : 27.el5
Size : 54 k
Repo : base
Summary : A module for PHP applications that use IMAP.
URL : http://www.php.net/
License : The PHP License v3.01
Description: The php-imap package contains a dynamic shared object (DSO) for the
: Apache Web server. When compiled into Apache, the php-imap module will
: add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a
: protocol for retrieving and uploading e-mail messages on mail
: servers. PHP is an HTML-embedded scripting language. If you need IMAP
: support for PHP applications, you will need to install this package
: and the php package.
[/code]
Would have been part of the output from the yum query if I had noticed it. :-)