<?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"
	>
<channel>
	<title>Comments on: Alternative PHP Cache (APC) on Debian</title>
	<atom:link href="http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian/feed" rel="self" type="application/rss+xml" />
	<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian</link>
	<description>.: science : activism : social justice :.</description>
	<pubDate>Thu, 28 Aug 2008 07:01:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: meinhard</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-64510</link>
		<dc:creator>meinhard</dc:creator>
		<pubDate>Sat, 29 Mar 2008 14:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-64510</guid>
		<description>To install APC on a minimal Ubuntu Gutsy (7.10) I just  typed:

&lt;code&gt;
apt-get install php-pear php5-dev gawk apache2-threaded-dev make
pecl install apc
&lt;/code&gt;

..added "extension=apc.so" to the php.ini and restarted Apache - done! :) Also see http://2bits.com/articles/installing-php-apc-gnulinux-ubuntu-gutsy-gibbon-710-and-debian.html</description>
		<content:encoded><![CDATA[<p>To install APC on a minimal Ubuntu Gutsy (7.10) I just  typed:</p>
<p><code><br />
apt-get install php-pear php5-dev gawk apache2-threaded-dev make<br />
pecl install apc<br />
</code></p>
<p>..added &#8220;extension=apc.so&#8221; to the php.ini and restarted Apache - done! <img src='http://carroll.org.uk/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Also see <a href="http://2bits.com/articles/installing-php-apc-gnulinux-ubuntu-gutsy-gibbon-710-and-debian.html" rel="nofollow">http://2bits.com/articles/installing-php-apc-gnulinux-ubuntu-gutsy-gibbon-710-and-debian.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: :DTM.</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-56514</link>
		<dc:creator>:DTM.</dc:creator>
		<pubDate>Tue, 29 Jan 2008 04:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-56514</guid>
		<description>Everything had been worked perfectly with APC and eZ Publish on my Debian Etch amd64 until I issued:
pecl upgrade apc

which upgraded to APC-3.0.16 and created a new library in
/usr/lib/php5/20060613/apc.so

which replaced the previous
/usr/lib/php4/20050606/apc.so [APC-3.0.14 - shoot, I don't have a backup...] 

The problem must be that I installed php5 [cgi] after php4 and apc...

If I move the new apc.so to the correct extension_dir, Apache2 can't load it and says:

PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/20050606/apc.so' - /usr/lib/php4/20050606/apc.so: undefined symbol: zend_opcode_handlers in Unknown on line 0

How can I recompile apc for just PHP/4.4.4-8+etch4 and give eZ Publish a cache again?

Regards, :DTM.</description>
		<content:encoded><![CDATA[<p>Everything had been worked perfectly with APC and eZ Publish on my Debian Etch amd64 until I issued:<br />
pecl upgrade apc</p>
<p>which upgraded to APC-3.0.16 and created a new library in<br />
/usr/lib/php5/20060613/apc.so</p>
<p>which replaced the previous<br />
/usr/lib/php4/20050606/apc.so [APC-3.0.14 - shoot, I don't have a backup...] </p>
<p>The problem must be that I installed php5 [cgi] after php4 and apc&#8230;</p>
<p>If I move the new apc.so to the correct extension_dir, Apache2 can&#8217;t load it and says:</p>
<p>PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/20050606/apc.so&#8217; - /usr/lib/php4/20050606/apc.so: undefined symbol: zend_opcode_handlers in Unknown on line 0</p>
<p>How can I recompile apc for just PHP/4.4.4-8+etch4 and give eZ Publish a cache again?</p>
<p>Regards, :DTM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-45053</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Tue, 06 Nov 2007 22:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-45053</guid>
		<description>@marwin: you must be using non-standard repositories, because there is no php5-apc package in debian yet. There is an ITP, which followed a &lt;a href="http://bugs.debian.org/335404" rel="nofollow"&gt;RFP I filed two years ago&lt;/a&gt;, but no package as yet.</description>
		<content:encoded><![CDATA[<p>@marwin: you must be using non-standard repositories, because there is no php5-apc package in debian yet. There is an ITP, which followed a <a href="http://bugs.debian.org/335404" rel="nofollow">RFP I filed two years ago</a>, but no package as yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marwin</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-36532</link>
		<dc:creator>marwin</dc:creator>
		<pubDate>Fri, 13 Jul 2007 06:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-36532</guid>
		<description>Well I have enabled the APC on my debian box by simply doing 
(installation of apache)
apt-get install libapache2-mod-php5

(installation of php5)
apt-get install php5-curl php5-gd php5-imap php5-mysql php5-mcrypt php5-xmlrpc php5-xsl php5-cli php5 php5-tidy php5-apc

/etc/init.d/apache2 restart

I hope this is usefull to somebody.</description>
		<content:encoded><![CDATA[<p>Well I have enabled the APC on my debian box by simply doing<br />
(installation of apache)<br />
apt-get install libapache2-mod-php5</p>
<p>(installation of php5)<br />
apt-get install php5-curl php5-gd php5-imap php5-mysql php5-mcrypt php5-xmlrpc php5-xsl php5-cli php5 php5-tidy php5-apc</p>
<p>/etc/init.d/apache2 restart</p>
<p>I hope this is usefull to somebody.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-34675</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Sat, 16 Jun 2007 20:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-34675</guid>
		<description>@Matt: you do need to install the apache and php development packages - for apache2 the relevant package is apache2-dev

@Mentalacrobatics: If you don't have apt-get, then you don't have Debian Linux, and this page is irrelevant to you. You should search for an APC package for whichever distribution you are running. Alternatively, if you need help compiling it from source, &lt;a href="/contact" rel="nofollow"&gt;contact me&lt;/a&gt;.

Matthew</description>
		<content:encoded><![CDATA[<p>@Matt: you do need to install the apache and php development packages - for apache2 the relevant package is apache2-dev</p>
<p>@Mentalacrobatics: If you don&#8217;t have apt-get, then you don&#8217;t have Debian Linux, and this page is irrelevant to you. You should search for an APC package for whichever distribution you are running. Alternatively, if you need help compiling it from source, <a href="/contact" rel="nofollow">contact me</a>.</p>
<p>Matthew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mentalacrobatics</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-30895</link>
		<dc:creator>Mentalacrobatics</dc:creator>
		<pubDate>Wed, 23 May 2007 10:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-30895</guid>
		<description>Hi, Thanks for posting this. I tried to follow the instructions and got as far as 

&lt;code&gt;
root@vps [/usr/local/src]# sudo apt-get install apache-dev php4-dev
sudo: apt-get: command not found
&lt;/code&gt;

any ideas how i can get around this please? 

Thank you</description>
		<content:encoded><![CDATA[<p>Hi, Thanks for posting this. I tried to follow the instructions and got as far as </p>
<p><code><br />
root@vps [/usr/local/src]# sudo apt-get install apache-dev php4-dev<br />
sudo: apt-get: command not found<br />
</code></p>
<p>any ideas how i can get around this please? </p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt West</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-24081</link>
		<dc:creator>Matt West</dc:creator>
		<pubDate>Sun, 18 Mar 2007 22:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-24081</guid>
		<description>Just for update.
I just tried the sudo apt-get install apache-dev php4-dev line, and it said, apt-get: command not found :/

Sorry for the multiple comments!</description>
		<content:encoded><![CDATA[<p>Just for update.<br />
I just tried the sudo apt-get install apache-dev php4-dev line, and it said, apt-get: command not found :/</p>
<p>Sorry for the multiple comments!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt West</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-24078</link>
		<dc:creator>Matt West</dc:creator>
		<pubDate>Sun, 18 Mar 2007 21:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-24078</guid>
		<description>Oh, sorry I should have mentioned, I did not do this line "sudo apt-get install apache-dev php4-dev".  I was not sure if I needed to do this as I have apache2 and php installed.   I didn;t want to mess with this part.

Thanks again</description>
		<content:encoded><![CDATA[<p>Oh, sorry I should have mentioned, I did not do this line &#8220;sudo apt-get install apache-dev php4-dev&#8221;.  I was not sure if I needed to do this as I have apache2 and php installed.   I didn;t want to mess with this part.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt West</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-24077</link>
		<dc:creator>Matt West</dc:creator>
		<pubDate>Sun, 18 Mar 2007 21:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-24077</guid>
		<description>Hey Matthew,

I have tried for roughly four days now to get APC working, and it is driving me crazy. Im on a mediatmple virtual dedicated (cent os) with the developer tools installed.
I have managed to get it built, the apc.so file is in the correct place, but still no luck.  When the apc.so file is loaded, it shows an error with it in my apache log.  
I think I have tracked it down to a problem with phpize. When i type phpize, I recive this error.

[root@as APC-3.0.13]# phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010

I think it might be libtools or libcrypt.  Any idea how I can fix this?  You are my last hope :/

Many thanks for the time Matthew.
Matt</description>
		<content:encoded><![CDATA[<p>Hey Matthew,</p>
<p>I have tried for roughly four days now to get APC working, and it is driving me crazy. Im on a mediatmple virtual dedicated (cent os) with the developer tools installed.<br />
I have managed to get it built, the apc.so file is in the correct place, but still no luck.  When the apc.so file is loaded, it shows an error with it in my apache log.<br />
I think I have tracked it down to a problem with phpize. When i type phpize, I recive this error.</p>
<p>[root@as APC-3.0.13]# phpize<br />
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG<br />
  run info &#8216;(automake)Extending aclocal&#8217;<br />
  or see <a href="http://sources.redhat.com/automake/automake.html#Extending-aclocal" rel="nofollow">http://sources.redhat.com/automake/automake.html#Extending-aclocal</a><br />
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR<br />
configure.in:33: warning: underquoted definition of PHP_EXT_DIR<br />
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR<br />
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED<br />
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C<br />
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT<br />
Configuring for:<br />
  PHP Api Version:   20020918<br />
  Zend Module Api No:   20020429<br />
  Zend Extension Api No:   20021010</p>
<p>I think it might be libtools or libcrypt.  Any idea how I can fix this?  You are my last hope :/</p>
<p>Many thanks for the time Matthew.<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fora</title>
		<link>http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-21409</link>
		<dc:creator>fora</dc:creator>
		<pubDate>Tue, 06 Feb 2007 21:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://carroll.org.uk/archives/2006/02/02/alternative-php-cache-apc-on-debian#comment-21409</guid>
		<description>Hello, thanks for this great post.
I have never heard of php cache, except mysql query cache supposed to be great aswell for systems doing the same query very fast after one another.</description>
		<content:encoded><![CDATA[<p>Hello, thanks for this great post.<br />
I have never heard of php cache, except mysql query cache supposed to be great aswell for systems doing the same query very fast after one another.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
