<?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: Install memcached PHP extension on OS X Snow Leopard</title>
	<atom:link href="http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/</link>
	<description>Thoughts on software development and other geeky pursuits.</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:38:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Christian Blanquera</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-80329</link>
		<dc:creator>Christian Blanquera</dc:creator>
		<pubDate>Tue, 11 Oct 2011 07:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-80329</guid>
		<description>After 2 years, this is still a working tut. Thank you for putting the time in to share this.</description>
		<content:encoded><![CDATA[<p>After 2 years, this is still a working tut. Thank you for putting the time in to share this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; Install Memcache on OS X for PHP/Apache Bruce&#039;s Blog</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-74993</link>
		<dc:creator>&#187; Install Memcache on OS X for PHP/Apache Bruce&#039;s Blog</dc:creator>
		<pubDate>Wed, 01 Jun 2011 12:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-74993</guid>
		<description>[...] of all, many thanks to this blog article, although I&#8217;ve altered a few [...]</description>
		<content:encoded><![CDATA[<p>[...] of all, many thanks to this blog article, although I&#8217;ve altered a few [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Dalton</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-73854</link>
		<dc:creator>Jim Dalton</dc:creator>
		<pubDate>Mon, 02 May 2011 17:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-73854</guid>
		<description>Regarding the Memcache vs. Memcached class name that several commenters in this thread have mentioned:

There are TWO Memcached clients in the PHP Extension Community Library. They are quite unhelpfully named Memcache (http://pecl.php.net/package/memcache) and Memcached (http://pecl.php.net/package/memcached). Here is a handy comparison chart: http://code.google.com/p/memcached/wiki/PHPClientComparison

The instructions in this blog post are for the Memcached client. If you&#039;re using a library that calls the Memcache class, this client will not work for you. However, the installation steps should be quite similar to get the Memcache client up and running.

Which is a preferable library? For a long while there was no development activity on Memcache, so it appeared as though Memcached was going to supplant it. However, as of this morning it looks like there is some new activity in the last 30 days on Memcache, so who knows. Some (old) discussion is here: http://serverfault.com/questions/63383/memcache-vs-memcached

I lost about 15 minutes trying to sort this out, so hopefully some future visitor to this page will save themselves the trouble.</description>
		<content:encoded><![CDATA[<p>Regarding the Memcache vs. Memcached class name that several commenters in this thread have mentioned:</p>
<p>There are TWO Memcached clients in the PHP Extension Community Library. They are quite unhelpfully named Memcache (<a href="http://pecl.php.net/package/memcache" rel="nofollow">http://pecl.php.net/package/memcache</a>) and Memcached (<a href="http://pecl.php.net/package/memcached" rel="nofollow">http://pecl.php.net/package/memcached</a>). Here is a handy comparison chart: <a href="http://code.google.com/p/memcached/wiki/PHPClientComparison" rel="nofollow">http://code.google.com/p/memcached/wiki/PHPClientComparison</a></p>
<p>The instructions in this blog post are for the Memcached client. If you&#8217;re using a library that calls the Memcache class, this client will not work for you. However, the installation steps should be quite similar to get the Memcache client up and running.</p>
<p>Which is a preferable library? For a long while there was no development activity on Memcache, so it appeared as though Memcached was going to supplant it. However, as of this morning it looks like there is some new activity in the last 30 days on Memcache, so who knows. Some (old) discussion is here: <a href="http://serverfault.com/questions/63383/memcache-vs-memcached" rel="nofollow">http://serverfault.com/questions/63383/memcache-vs-memcached</a></p>
<p>I lost about 15 minutes trying to sort this out, so hopefully some future visitor to this page will save themselves the trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon z</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-72532</link>
		<dc:creator>Jon z</dc:creator>
		<pubDate>Thu, 10 Feb 2011 18:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-72532</guid>
		<description>Ah, I see that the version installed by fink was taking precendence, I hijacked my PATH to use the xcode installed version and the install was successful!  Thank you very much.</description>
		<content:encoded><![CDATA[<p>Ah, I see that the version installed by fink was taking precendence, I hijacked my PATH to use the xcode installed version and the install was successful!  Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-72528</link>
		<dc:creator>Glen</dc:creator>
		<pubDate>Wed, 09 Feb 2011 21:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-72528</guid>
		<description>Hey Jon,

You seem to have a different m4 version installed to me.  Mine is:

&lt;code&gt;GNU M4 1.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene&#039; Seindal.&lt;/code&gt;

This is the version that was installed after using the Xcode installer on my Snow Leopard install DVD.  How did you install your UNIX Dev Support tools?</description>
		<content:encoded><![CDATA[<p>Hey Jon,</p>
<p>You seem to have a different m4 version installed to me.  Mine is:</p>
<p><code>GNU M4 1.4.6<br />
Copyright (C) 2006 Free Software Foundation, Inc.<br />
This is free software; see the source for copying conditions.  There is NO<br />
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p>Written by Rene' Seindal.</code></p>
<p>This is the version that was installed after using the Xcode installer on my Snow Leopard install DVD.  How did you install your UNIX Dev Support tools?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon z</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-72527</link>
		<dc:creator>Jon z</dc:creator>
		<pubDate>Wed, 09 Feb 2011 20:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-72527</guid>
		<description>I realize this thread is months old but I&#039;m having difficulty getting past the phpize step, and I haven&#039;t been able to find any other resource on the web that helps me solve it.  If you have got the time, I am encountering this error:

jon@memcached-1.0.2: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
/Developer/usr/bin/gm4: unrecognized option `--debugfile=autom4te.cache/traces.0t&#039;
Try `/Developer/usr/bin/gm4 --help&#039; for more information.
autom4te-2.63: /Developer/usr/bin/gm4 failed with exit status: 1

It looks like an error in passing options to the m4 script.. any thoughts?

This is my version of m4:
m4 (GNU M4) 1.4.15</description>
		<content:encoded><![CDATA[<p>I realize this thread is months old but I&#8217;m having difficulty getting past the phpize step, and I haven&#8217;t been able to find any other resource on the web that helps me solve it.  If you have got the time, I am encountering this error:</p>
<p>jon@memcached-1.0.2: phpize<br />
Configuring for:<br />
PHP Api Version:         20090626<br />
Zend Module Api No:      20090626<br />
Zend Extension Api No:   220090626<br />
/Developer/usr/bin/gm4: unrecognized option `&#8211;debugfile=autom4te.cache/traces.0t&#8217;<br />
Try `/Developer/usr/bin/gm4 &#8211;help&#8217; for more information.<br />
autom4te-2.63: /Developer/usr/bin/gm4 failed with exit status: 1</p>
<p>It looks like an error in passing options to the m4 script.. any thoughts?</p>
<p>This is my version of m4:<br />
m4 (GNU M4) 1.4.15</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Bean</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-70028</link>
		<dc:creator>Martin Bean</dc:creator>
		<pubDate>Wed, 14 Jul 2010 18:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-70028</guid>
		<description>Ignore my last comment; I&#039;m now at the same point as Mike (comment xvii). Any thoughts?</description>
		<content:encoded><![CDATA[<p>Ignore my last comment; I&#8217;m now at the same point as Mike (comment xvii). Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Bean</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-70023</link>
		<dc:creator>Martin Bean</dc:creator>
		<pubDate>Tue, 13 Jul 2010 20:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-70023</guid>
		<description>I have a problem when I get to the stage of installing the PHP extension. When running &lt;code&gt;pecl download memcached&lt;/code&gt; I get the following error:

&lt;code&gt;Warning: touch(): Unable to create file /usr/lib/php/.lock because Permission denied in PEAR/Registry.php on line 835&lt;/code&gt;

I checked the folder, and despite being administration of my iMac (running Snow Leopard), the folder says I can only read in the &quot;Get Info&quot; dialog, and I&#039;ve been unable to change the owner to myself via &lt;code&gt;sudo&lt;/code&gt;.

What can I do to install memcached at this stage?</description>
		<content:encoded><![CDATA[<p>I have a problem when I get to the stage of installing the PHP extension. When running <code>pecl download memcached</code> I get the following error:</p>
<p><code>Warning: touch(): Unable to create file /usr/lib/php/.lock because Permission denied in PEAR/Registry.php on line 835</code></p>
<p>I checked the folder, and despite being administration of my iMac (running Snow Leopard), the folder says I can only read in the &#8220;Get Info&#8221; dialog, and I&#8217;ve been unable to change the owner to myself via <code>sudo</code>.</p>
<p>What can I do to install memcached at this stage?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-69777</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 29 Jun 2010 14:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-69777</guid>
		<description>I received the successful install message -

&quot;mike-2:memcached-1.0.2 mike$ sudo make install
Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/&quot;

- and restarted apache, but I don&#039;t see the memcache section within a file containing phpinfo().  I&#039;m running SL 10.6.4 - any thoughts?</description>
		<content:encoded><![CDATA[<p>I received the successful install message -</p>
<p>&#8220;mike-2:memcached-1.0.2 mike$ sudo make install<br />
Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/&#8221;</p>
<p>- and restarted apache, but I don&#8217;t see the memcache section within a file containing phpinfo().  I&#8217;m running SL 10.6.4 &#8211; any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.glenscott.co.uk/blog/2009/08/30/install-memcached-php-extension-on-os-x-snow-leopard/comment-page-1/#comment-66560</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 05 Mar 2010 00:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.glenscott.co.uk/?p=424#comment-66560</guid>
		<description>When I run a make after phpizing  the PHP extension

bash &gt; make

app:memcached-1.0.0 Admin$ make
/bin/sh /tmp/memcached-1.0.0/libtool --mode=compile cc -I/usr/include/php  -I. -I/tmp/memcached-1.0.0 -DPHP_ATOM_INC -I/tmp/memcached-1.0.0/include -I/tmp/memcached-1.0.0/main -I/tmp/memcached-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/memcached-1.0.0/php_memcached.c -o php_memcached.lo 
mkdir .libs
 cc -I/usr/include/php -I. -I/tmp/memcached-1.0.0 -DPHP_ATOM_INC -I/tmp/memcached-1.0.0/include -I/tmp/memcached-1.0.0/main -I/tmp/memcached-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/memcached-1.0.0/php_memcached.c  -fno-common -DPIC -o .libs/php_memcached.o
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_get_implâ€™:
/tmp/memcached-1.0.0/php_memcached.c:371: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type
/tmp/memcached-1.0.0/php_memcached.c:408: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c:440: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_getMulti_implâ€™:
/tmp/memcached-1.0.0/php_memcached.c:577: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type
/tmp/memcached-1.0.0/php_memcached.c:607: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c:610: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_getDelayed_implâ€™:
/tmp/memcached-1.0.0/php_memcached.c:726: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜zim_Memcached_fetchâ€™:
/tmp/memcached-1.0.0/php_memcached.c:801: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c:804: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜zim_Memcached_fetchAllâ€™:
/tmp/memcached-1.0.0/php_memcached.c:852: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c:855: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜zim_Memcached_setOptionâ€™:
/tmp/memcached-1.0.0/php_memcached.c:1785: error: â€˜memcached_stâ€™ has no member named â€˜hashâ€™
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_do_result_callbackâ€™:
/tmp/memcached-1.0.0/php_memcached.c:2324: warning: assignment discards qualifiers from pointer target type
/tmp/memcached-1.0.0/php_memcached.c:2327: warning: assignment discards qualifiers from pointer target type
make: *** [php_memcached.lo] Error 1
app:memcached-1.0.0 Admin$</description>
		<content:encoded><![CDATA[<p>When I run a make after phpizing  the PHP extension</p>
<p>bash &gt; make</p>
<p>app:memcached-1.0.0 Admin$ make<br />
/bin/sh /tmp/memcached-1.0.0/libtool &#8211;mode=compile cc -I/usr/include/php  -I. -I/tmp/memcached-1.0.0 -DPHP_ATOM_INC -I/tmp/memcached-1.0.0/include -I/tmp/memcached-1.0.0/main -I/tmp/memcached-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/memcached-1.0.0/php_memcached.c -o php_memcached.lo<br />
mkdir .libs<br />
 cc -I/usr/include/php -I. -I/tmp/memcached-1.0.0 -DPHP_ATOM_INC -I/tmp/memcached-1.0.0/include -I/tmp/memcached-1.0.0/main -I/tmp/memcached-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/memcached-1.0.0/php_memcached.c  -fno-common -DPIC -o .libs/php_memcached.o<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_get_implâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:371: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type<br />
/tmp/memcached-1.0.0/php_memcached.c:408: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c:440: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_getMulti_implâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:577: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type<br />
/tmp/memcached-1.0.0/php_memcached.c:607: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c:610: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_getDelayed_implâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:726: warning: passing argument 4 of â€˜memcached_mget_by_keyâ€™ from incompatible pointer type<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜zim_Memcached_fetchâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:801: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c:804: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜zim_Memcached_fetchAllâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:852: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c:855: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜zim_Memcached_setOptionâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:1785: error: â€˜memcached_stâ€™ has no member named â€˜hashâ€™<br />
/tmp/memcached-1.0.0/php_memcached.c: In function â€˜php_memc_do_result_callbackâ€™:<br />
/tmp/memcached-1.0.0/php_memcached.c:2324: warning: assignment discards qualifiers from pointer target type<br />
/tmp/memcached-1.0.0/php_memcached.c:2327: warning: assignment discards qualifiers from pointer target type<br />
make: *** [php_memcached.lo] Error 1<br />
app:memcached-1.0.0 Admin$</p>
]]></content:encoded>
	</item>
</channel>
</rss>

