How to install imap with php module

Support for webhosts that use CentOS
Post Reply
makwazir
Posts: 6
Joined: 2010/08/19 04:06:41

How to install imap with php module

Post by makwazir » 2010/11/03 12:29:19

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

How to install imap with php module

Post by gerald_clark » 2010/11/03 13:18:48

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.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: How to install imap with php module

Post by pschaff » 2010/11/03 14:11:43

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.

markkuk
Posts: 739
Joined: 2007/09/07 10:56:28
Location: Finland

Re: How to install imap with php module

Post by markkuk » 2010/11/03 15:00:47

[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.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: How to install imap with php module

Post by pschaff » 2010/11/03 15:09:27

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. :-)

Post Reply

Return to “CentOS 5 - Webhosting Support”