<?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 [Web Dev, SEO, Linux...] &#187; CentOs</title>
	<atom:link href="http://www.kadimi.com/en/category/linux/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kadimi.com/en</link>
	<description>Blog &#38; Free Tech Support</description>
	<lastBuildDate>Mon, 28 Jun 2010 22:54:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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: &#91;me@it ~&#93;# yum install php-imap Now it&#8217;s installed, proof: &#91;me@it ~&#93;# [...]]]></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"><div 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></div></div>

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

<div class="wp_syntax"><div 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: #000000;">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></div></div>

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

<div class="wp_syntax"><div 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></div></div>

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

<div class="wp_syntax"><div 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></div></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>
		<item>
		<title>Install PHP 5.2.6 on CentOs 5.x</title>
		<link>http://www.kadimi.com/en/centos-php-5-2-6-174</link>
		<comments>http://www.kadimi.com/en/centos-php-5-2-6-174#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:27:22 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[CentOs]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=174</guid>
		<description><![CDATA[Oddly enough, PHP 5.2.6 is still not available on default CentOS repositories ([base], [updates], [addons], and [extras]), latest PHP available in those repos is PHP 5.1.6! In order to install PHP 5.2.6 you can add the CentOS testing repository and enable it then install or update PHP. To add the CentOS testing directory, create a [...]]]></description>
			<content:encoded><![CDATA[<p>Oddly enough, <strong>PHP 5.2.6</strong> is still not available on default CentOS repositories ([base], [updates], [addons], and [extras]), latest PHP available in those repos is PHP 5.1.6!</p>
<p>In order to install PHP 5.2.6 you can add the CentOS testing repository and enable it then<span id="more-174"></span> install or update PHP.</p>
<p>To add the CentOS testing directory, create a file /etc/yum.repos.d/centos-test.repo and add this line:</p>
<blockquote><p><code>[c5-testing]<br />
name=CentOS-5 Testing<br />
baseurl=http://dev.centos.org/centos/5/testing/$basearch/<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
</code></p></blockquote>
<p>Then install or update PHP:</p>
<blockquote><p><code>[root@server ~]# yum install php</code></p></blockquote>
<p>or</p>
<blockquote><p><code>[root@server ~]# yum update php</code></p></blockquote>
<p>Then you can disable the testing repo by editing the file and setting the option &#8220;enabled&#8221; to &#8220;0&#8243;</p>
<blockquote><p><code>[c5-testing]<br />
name=CentOS-5 Testing<br />
baseurl=http://dev.centos.org/centos/5/testing/$basearch/<br />
enabled=0<br />
gpgcheck=1<br />
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/centos-php-5-2-6-174/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
