<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KADIMI &#187; httpd</title>
	<atom:link href="http://www.kadimi.com/en/tag/httpd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kadimi.com/en</link>
	<description>[Web developper, Linux addict, Technical translator...]</description>
	<lastBuildDate>Sun, 15 Jan 2012 10:48:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>PHP with IMAP on CentOS</title>
		<link>http://www.kadimi.com/en/centos-php-imap-506</link>
		<comments>http://www.kadimi.com/en/centos-php-imap-506#comments</comments>
		<pubDate>Mon, 15 Mar 2010 10:46:35 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[CentOs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[imap]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=506</guid>
		<description><![CDATA[I was playing with Drupal 6 and some UberCart ticket module when I came across an error message where Drupal told me that it needed the IMAP PHP extension to be installed. Because I&#8217;m a nice guy I will share this command with you: 1 &#91;me@it ~&#93;# yum install php-imap Now it&#8217;s installed, proof: 1 [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing with Drupal 6 and some UberCart ticket module when I came across an error message where Drupal told me that it needed the IMAP PHP extension to be installed.</p>
<p>Because I&#8217;m a nice guy I will share this command with you:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># yum install php-imap</span></pre></td></tr></table></div>

<p>Now it&#8217;s installed, proof:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># php --ri imap</span>
&nbsp;
imap
&nbsp;
IMAP c<span style="color: pink;">-</span>Client Version <span style="color: pink;">=&gt;</span> <span style="color: #804000;">2004</span>
SSL Support <span style="color: pink;">=&gt;</span> enabled
Kerberos Support <span style="color: pink;">=&gt;</span> enabled
<span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;">#</span></pre></td></tr></table></div>

<p>If it wasn&#8217;t installed it would have shown you:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># php --ri imap</span>
Extension <span style="color: #800000;">'imap'</span> not present.</pre></td></tr></table></div>

<p>But of course it isn&#8217;t working&#8230; yet, untill you restart the Apache server daemon</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># service httpd restart</span></pre></td></tr></table></div>

<p>And because I&#8217;m a nice guy I will tell you where I found the first command before even you ask: <a href="http://www.php.net/manual/en/imap.setup.php">http://www.php.net/manual/en/imap.setup.php</a></p>
<p>The PHP manual is always a good place to start, oh&#8230; and don&#8217;t underestimate comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/centos-php-imap-506/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

