<?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>memcached &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/memcached/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Tue, 23 Aug 2011 10:28:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Install Memcache PHP Extension</title>
		<link>https://lifelinux.com/how-to-install-memcache-php-extension/</link>
					<comments>https://lifelinux.com/how-to-install-memcache-php-extension/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 10:08:43 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[/etc/sysconfig/memcached]]></category>
		<category><![CDATA[centos memcached]]></category>
		<category><![CDATA[chkconfig command]]></category>
		<category><![CDATA[EPEL repo]]></category>
		<category><![CDATA[fedora memcached]]></category>
		<category><![CDATA[Linux memcached]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[memcached-selinux]]></category>
		<category><![CDATA[memcached-tool command]]></category>
		<category><![CDATA[php-pecl-memcache]]></category>
		<category><![CDATA[redhat memcached]]></category>
		<category><![CDATA[rhel memcached]]></category>
		<category><![CDATA[service command]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=983</guid>

					<description><![CDATA[<p>Memcache extension provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. This article will explain how to install the memcache PHP extension on Centos/RedHat/Fedora. The first, download the latest &#038; stable package from http://pecl.php.net/package/memcache. Type the following command # [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-memcache-php-extension/">How To Install Memcache PHP Extension</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><strong>Memcache</strong> extension provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. This article will explain how to install the memcache PHP extension on Centos/RedHat/Fedora.<span id="more-983"></span></p>
<p>The first, download the latest &#038; stable package from http://pecl.php.net/package/memcache. Type the following command</p>
<pre>
# wget http://pecl.php.net/get/memcache-2.2.6.tgz
</pre>
<p>Extract memcache-2.2.6.tgz</p>
<pre>
# tar zxvf memcache-2.2.6.tgz
</pre>
<p>To install memcache extension, you need to install the php-devel package that matches the version of php that you are currently running. Example, i&#8217;m using PHP 5.3 then enter</p>
<pre>
# yum install php53-devel
</pre>
<p>Run the phpize command to prepare the build environment for a PHP extension</p>
<pre>
# phpize
</pre>
<p>Sample output</p>
<pre>
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
</pre>
<p>Configure &#038; Install memcache extension. Type the following command</p>
<pre>
# ./configure
# make
# make install
</pre>
<p>If your get the following error message when run ./configure</p>
<pre>
checking for the location of ZLIB... no
checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located
</pre>
<p>Then type the following command to fix it</p>
<pre>
# yum install zlib zlib-devel
</pre>
<p>Finally, use the following command to add memcache extension to php.ini</p>
<pre>
# echo "extension=memcache.so" >> /etc/php.ini
</pre>
<g:plusone href="https://lifelinux.com/how-to-install-memcache-php-extension/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-memcache-php-extension/">How To Install Memcache PHP Extension</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-install-memcache-php-extension/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
