<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to install PHP memcached on an Ubuntu server</title>
	<atom:link href="http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/</link>
	<description>Code, Literature and Other Worthless Pursuits</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:40:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevin</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-739</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 22 Jun 2010 19:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-739</guid>
		<description>I am following your steps, everything looks ok, except Step 6, 

sudo pecl install memcached

running: make
/bin/bash /var/tmp/pear-build-root/memcached-1.0.2/libtool --mode=compile cc -I/usr/local/zend/include/php  -I. -I/tmp/pear/temp/memcached -DPHP_ATOM_INC -I/var/tmp/pear-build-root/memcached-1.0.2/include -I/var/tmp/pear-build-root/memcached-1.0.2/main -I/tmp/pear/temp/memcached -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/memcached/php_memcached.c -o php_memcached.lo
mkdir .libs
 cc -I/usr/local/zend/include/php -I. -I/tmp/pear/temp/memcached -DPHP_ATOM_INC -I/var/tmp/pear-build-root/memcached-1.0.2/include -I/var/tmp/pear-build-root/memcached-1.0.2/main -I/tmp/pear/temp/memcached -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/memcached/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o
/tmp/pear/temp/memcached/php_memcached.c:168: warning: useless storage class specifier in empty declaration
/tmp/pear/temp/memcached/php_memcached.c:203: error: expected declaration specifiers or ‘...’ before ‘memcached_server_instance_st’

.... more error and warning msgs .....

/tmp/pear/temp/memcached/php_memcached.c:1942: error: expected declaration specifiers or ‘...’ before ‘memcached_server_instance_st’
/tmp/pear/temp/memcached/php_memcached.c: In function ‘php_memc_do_version_callback’:
/tmp/pear/temp/memcached/php_memcached.c:1949: error: ‘instance’ undeclared (first use in this function)
make: *** [php_memcached.lo] Error 1
ERROR: `make&#039; failed


I am with Ubuntu 10.04 and zend server ce. 

I have tried pecl download memcached ; and ./configure --with-libmemcached-dir=
but no luck. 

Any thoughts ?

Kevin</description>
		<content:encoded><![CDATA[<p>I am following your steps, everything looks ok, except Step 6, </p>
<p>sudo pecl install memcached</p>
<p>running: make<br />
/bin/bash /var/tmp/pear-build-root/memcached-1.0.2/libtool &#8211;mode=compile cc -I/usr/local/zend/include/php  -I. -I/tmp/pear/temp/memcached -DPHP_ATOM_INC -I/var/tmp/pear-build-root/memcached-1.0.2/include -I/var/tmp/pear-build-root/memcached-1.0.2/main -I/tmp/pear/temp/memcached -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/memcached/php_memcached.c -o php_memcached.lo<br />
mkdir .libs<br />
 cc -I/usr/local/zend/include/php -I. -I/tmp/pear/temp/memcached -DPHP_ATOM_INC -I/var/tmp/pear-build-root/memcached-1.0.2/include -I/var/tmp/pear-build-root/memcached-1.0.2/main -I/tmp/pear/temp/memcached -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/memcached/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o<br />
/tmp/pear/temp/memcached/php_memcached.c:168: warning: useless storage class specifier in empty declaration<br />
/tmp/pear/temp/memcached/php_memcached.c:203: error: expected declaration specifiers or ‘&#8230;’ before ‘memcached_server_instance_st’</p>
<p>&#8230;. more error and warning msgs &#8230;..</p>
<p>/tmp/pear/temp/memcached/php_memcached.c:1942: error: expected declaration specifiers or ‘&#8230;’ before ‘memcached_server_instance_st’<br />
/tmp/pear/temp/memcached/php_memcached.c: In function ‘php_memc_do_version_callback’:<br />
/tmp/pear/temp/memcached/php_memcached.c:1949: error: ‘instance’ undeclared (first use in this function)<br />
make: *** [php_memcached.lo] Error 1<br />
ERROR: `make&#8217; failed</p>
<p>I am with Ubuntu 10.04 and zend server ce. </p>
<p>I have tried pecl download memcached ; and ./configure &#8211;with-libmemcached-dir=<br />
but no luck. </p>
<p>Any thoughts ?</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neo</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-718</link>
		<dc:creator>Neo</dc:creator>
		<pubDate>Mon, 14 Jun 2010 08:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-718</guid>
		<description>hey miki, Thanks it does saved lots of my time, too. As there is no clean/straight documentation regarding compatible installations/combinations on various m/cs.
To Add, on CentOs release 5.4 (Final), i have successfully compiled 
   pecl memcached : 1.0.1 and 
 1.0.2 requires libmemcached 0.39+ (Found in one comment at pecl bugs site, Thanks to him).

Hope this will help others
enJoy :)</description>
		<content:encoded><![CDATA[<p>hey miki, Thanks it does saved lots of my time, too. As there is no clean/straight documentation regarding compatible installations/combinations on various m/cs.<br />
To Add, on CentOs release 5.4 (Final), i have successfully compiled<br />
   pecl memcached : 1.0.1 and<br />
 1.0.2 requires libmemcached 0.39+ (Found in one comment at pecl bugs site, Thanks to him).</p>
<p>Hope this will help others<br />
enJoy <img src='http://stevelove.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: miki</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-710</link>
		<dc:creator>miki</dc:creator>
		<pubDate>Wed, 09 Jun 2010 19:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-710</guid>
		<description>In case I can save somebody&#039;s time looking for the right versions. For Red Hat CentOS release 5.4 (Final), the versions that compile are:

- libmemcached: 0.35
- pecl memcached: 1.0.0</description>
		<content:encoded><![CDATA[<p>In case I can save somebody&#8217;s time looking for the right versions. For Red Hat CentOS release 5.4 (Final), the versions that compile are:</p>
<p>- libmemcached: 0.35<br />
- pecl memcached: 1.0.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Love</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-691</link>
		<dc:creator>Steve Love</dc:creator>
		<pubDate>Thu, 27 May 2010 19:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-691</guid>
		<description>Glad you got it sorted!</description>
		<content:encoded><![CDATA[<p>Glad you got it sorted!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-690</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Thu, 27 May 2010 18:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-690</guid>
		<description>nvm, figured it out. i didn&#039;t notice that libmemcached didn&#039;t install correctly. did that and pecl install worked.</description>
		<content:encoded><![CDATA[<p>nvm, figured it out. i didn&#8217;t notice that libmemcached didn&#8217;t install correctly. did that and pecl install worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Love</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-689</link>
		<dc:creator>Steve Love</dc:creator>
		<pubDate>Thu, 27 May 2010 17:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-689</guid>
		<description>I assume you&#039;re running Ubuntu? Which version? I&#039;m just guessing here, but it sounds like libmemcached might not have installed correctly. Were there any errors reported? Any chance you can try a different version number?</description>
		<content:encoded><![CDATA[<p>I assume you&#8217;re running Ubuntu? Which version? I&#8217;m just guessing here, but it sounds like libmemcached might not have installed correctly. Were there any errors reported? Any chance you can try a different version number?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-688</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Thu, 27 May 2010 17:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-688</guid>
		<description>I tried it again with the --with-libmemcached-dir= with the directory but with no luck.</description>
		<content:encoded><![CDATA[<p>I tried it again with the &#8211;with-libmemcached-dir= with the directory but with no luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-687</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Thu, 27 May 2010 17:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-687</guid>
		<description>I got down to the part where I ran &quot;pecl install memcached&quot; and got this error: 

checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir= to specify the prefix where libmemcached headers and library are located
ERROR: `/tmp/pear/temp/memcached/configure&#039; failed

But I just installed libmemcached 0.40... any thoughts?</description>
		<content:encoded><![CDATA[<p>I got down to the part where I ran &#8220;pecl install memcached&#8221; and got this error: </p>
<p>checking for libmemcached location&#8230; configure: error: memcached support requires libmemcached. Use &#8211;with-libmemcached-dir= to specify the prefix where libmemcached headers and library are located<br />
ERROR: `/tmp/pear/temp/memcached/configure&#8217; failed</p>
<p>But I just installed libmemcached 0.40&#8230; any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Love</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-666</link>
		<dc:creator>Steve Love</dc:creator>
		<pubDate>Thu, 13 May 2010 23:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-666</guid>
		<description>Very glad you found the instructions useful! Thanks for the tip on installing &lt;span class=&quot;code&quot;&gt;php5-memcached&lt;/span&gt;. Perhaps that needs to be part of Step 4? I wonder if building from source is even necessary anymore. Hmm.</description>
		<content:encoded><![CDATA[<p>Very glad you found the instructions useful! Thanks for the tip on installing <span class="code">php5-memcached</span>. Perhaps that needs to be part of Step 4? I wonder if building from source is even necessary anymore. Hmm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/comment-page-1/#comment-665</link>
		<dc:creator>Isaac</dc:creator>
		<pubDate>Thu, 13 May 2010 22:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://stevelove.org/?p=124#comment-665</guid>
		<description>Hey I want to thank you for this very comprehensive memcached install instructions. I had been looking for a week for something like this (I&#039;m a Linux newbie)  and finally found it here.

I have one thing I want to add that will complete this package and I hope will help out...

If the Memcached doesn&#039;t seem to work (e.g. you get WRITE FAILURE when using getResultMessage() to debug after a set() ), you may need to type the following in the terminal:

sudo apt-get install php5-memcached

then, restart...

sudo /etc/init.d/apache2 restart

Thank you so very much for this, you have lifted an incredible weight off my shoulders.</description>
		<content:encoded><![CDATA[<p>Hey I want to thank you for this very comprehensive memcached install instructions. I had been looking for a week for something like this (I&#8217;m a Linux newbie)  and finally found it here.</p>
<p>I have one thing I want to add that will complete this package and I hope will help out&#8230;</p>
<p>If the Memcached doesn&#8217;t seem to work (e.g. you get WRITE FAILURE when using getResultMessage() to debug after a set() ), you may need to type the following in the terminal:</p>
<p>sudo apt-get install php5-memcached</p>
<p>then, restart&#8230;</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>Thank you so very much for this, you have lifted an incredible weight off my shoulders.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
