<?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 Configure APC Cache on Virtual Servers with PHP running under FCGId	</title>
	<atom:link href="http://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/feed/" rel="self" type="application/rss+xml" />
	<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/</link>
	<description>portfolio of web work</description>
	<lastBuildDate>Fri, 24 Jun 2016 08:45:01 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.4</generator>
	<item>
		<title>
		By: Travis		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-39653</link>

		<dc:creator><![CDATA[Travis]]></dc:creator>
		<pubDate>Fri, 24 Jun 2016 08:45:01 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-39653</guid>

					<description><![CDATA[Hello guys,

I am having a problem with APC and APCIterator class in general. I am using APCIterator to retrieve certain items and hand it over to apc_delete($iterator) without having to flush the whole cache.

My problem is the following: Once I created these items I can easily retrieve them using APCIterator, but after a certain amount amount of the time certain items can&#039;t be retrieved by APCIterator anymore, they are stuck in cache and APCIterator is empty...I have absolutely no clue why and how this is happening.

Maybe my APC settings??

Here is a more detailed explanation of my problem:

http://stackoverflow.com/questions/37969063/apciterator-cant-retrieve-items-after-certain-amount-of-time

I am very thankful for any ideas on how to fix this...

Thanks in advance]]></description>
			<content:encoded><![CDATA[<p>Hello guys,</p>
<p>I am having a problem with APC and APCIterator class in general. I am using APCIterator to retrieve certain items and hand it over to apc_delete($iterator) without having to flush the whole cache.</p>
<p>My problem is the following: Once I created these items I can easily retrieve them using APCIterator, but after a certain amount amount of the time certain items can&#8217;t be retrieved by APCIterator anymore, they are stuck in cache and APCIterator is empty&#8230;I have absolutely no clue why and how this is happening.</p>
<p>Maybe my APC settings??</p>
<p>Here is a more detailed explanation of my problem:</p>
<p><a href="http://stackoverflow.com/questions/37969063/apciterator-cant-retrieve-items-after-certain-amount-of-time" rel="nofollow ugc">http://stackoverflow.com/questions/37969063/apciterator-cant-retrieve-items-after-certain-amount-of-time</a></p>
<p>I am very thankful for any ideas on how to fix this&#8230;</p>
<p>Thanks in advance</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris Gilligan		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-33085</link>

		<dc:creator><![CDATA[Chris Gilligan]]></dc:creator>
		<pubDate>Wed, 09 Dec 2015 16:00:40 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-33085</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-33077&quot;&gt;Maxczysto&lt;/a&gt;.

Yes, this post was written over 5 years ago, so APC cache was still current with PHP 5.3. Many web servers still run PHP 5.3; though it is dated, it is stable and is maintained in most OS repositories with back ported security patches. 5.3 is still the default PHP for many &quot;stable&quot; server OS. For newer sites, I&#039;m now using PHP 5.5.x, PHP-FPM &amp; NginX... no real need for APC.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-33077">Maxczysto</a>.</p>
<p>Yes, this post was written over 5 years ago, so APC cache was still current with PHP 5.3. Many web servers still run PHP 5.3; though it is dated, it is stable and is maintained in most OS repositories with back ported security patches. 5.3 is still the default PHP for many &#8220;stable&#8221; server OS. For newer sites, I&#8217;m now using PHP 5.5.x, PHP-FPM &#038; NginX&#8230; no real need for APC.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Maxczysto		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-33077</link>

		<dc:creator><![CDATA[Maxczysto]]></dc:creator>
		<pubDate>Wed, 09 Dec 2015 08:35:02 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-33077</guid>

					<description><![CDATA[APC works only php 5.3.3 ?]]></description>
			<content:encoded><![CDATA[<p>APC works only php 5.3.3 ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris Gilligan		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-27379</link>

		<dc:creator><![CDATA[Chris Gilligan]]></dc:creator>
		<pubDate>Sat, 22 Aug 2015 17:29:41 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-27379</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-27348&quot;&gt;Simon&lt;/a&gt;.

Simon, I do not know why that would happen... check your &lt;Virtualhost&gt; settings. The setup I describe is somewhat specific to Virtualmin.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-27348">Simon</a>.</p>
<p>Simon, I do not know why that would happen&#8230; check your <virtualhost> settings. The setup I describe is somewhat specific to Virtualmin.</virtualhost></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Simon		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-27348</link>

		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Sat, 22 Aug 2015 08:47:11 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-27348</guid>

					<description><![CDATA[This helped me disable it server wide, very helpful!

I can re-enable it per virtual host now, but if I change a single setting like

apc.shm_size = 12M

It 500&#039;s after a restart, I&#039;ve tried a bunch of different ways but my server does not like me over-riding the APC settings.

Confused..]]></description>
			<content:encoded><![CDATA[<p>This helped me disable it server wide, very helpful!</p>
<p>I can re-enable it per virtual host now, but if I change a single setting like</p>
<p>apc.shm_size = 12M</p>
<p>It 500&#8217;s after a restart, I&#8217;ve tried a bunch of different ways but my server does not like me over-riding the APC settings.</p>
<p>Confused..</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris Gilligan		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-9022</link>

		<dc:creator><![CDATA[Chris Gilligan]]></dc:creator>
		<pubDate>Wed, 16 Jan 2013 21:21:36 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-9022</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-9020&quot;&gt;Brian&lt;/a&gt;.

Default settings will probably be OK for a single site, but you should follow the tuning advice above to get best performance. You don&#039;t want to see a ton of fragmentation... APC tends to need a memory overhead due to the fragmentation issues.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-9020">Brian</a>.</p>
<p>Default settings will probably be OK for a single site, but you should follow the tuning advice above to get best performance. You don&#8217;t want to see a ton of fragmentation&#8230; APC tends to need a memory overhead due to the fragmentation issues.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brian		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-9020</link>

		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Sat, 05 Jan 2013 21:19:20 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-9020</guid>

					<description><![CDATA[Thx for the info.  I have a few questions.  

I am running a cloud server with Centos.  I am using fastcgi as the handler.   My server only runs a single site. 

Can I follow ur same guide to config APC? 

I am a newbie and am not 100 certain how to config APC.  Would installing it with the default settings do much good?]]></description>
			<content:encoded><![CDATA[<p>Thx for the info.  I have a few questions.  </p>
<p>I am running a cloud server with Centos.  I am using fastcgi as the handler.   My server only runs a single site. </p>
<p>Can I follow ur same guide to config APC? </p>
<p>I am a newbie and am not 100 certain how to config APC.  Would installing it with the default settings do much good?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Downloadz Portal		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5489</link>

		<dc:creator><![CDATA[Downloadz Portal]]></dc:creator>
		<pubDate>Wed, 15 Aug 2012 12:05:29 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-5489</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5477&quot;&gt;Chris Gilligan&lt;/a&gt;.

Wanted to get back to you about how it went with getting APC to work properly.

Well, I managed to get it to work by enabling Mod_Ruid2 and setting the PHP handler to DSO!

Then, by tweaking a few settings and raising the shm_size to 256MB I managed to get it working and my site&#039;s blazing fast now!

Check the stats: http://ScrnSht.com/tsxbwd

And my settings: http://ScrnSht.com/bohajh

FYI: I&#039;m running APC on a VPS where there are now 4 sites installed, they all use the same APC and W3TC settings. One of the sites contains about 10.000 posts, whereas the others contain 100-200. All sites are incredibly fast after I got it to work! :)

Thanks for your info and sharing this guide! :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5477">Chris Gilligan</a>.</p>
<p>Wanted to get back to you about how it went with getting APC to work properly.</p>
<p>Well, I managed to get it to work by enabling Mod_Ruid2 and setting the PHP handler to DSO!</p>
<p>Then, by tweaking a few settings and raising the shm_size to 256MB I managed to get it working and my site&#8217;s blazing fast now!</p>
<p>Check the stats: <a href="http://ScrnSht.com/tsxbwd" rel="nofollow ugc">http://ScrnSht.com/tsxbwd</a></p>
<p>And my settings: <a href="http://ScrnSht.com/bohajh" rel="nofollow ugc">http://ScrnSht.com/bohajh</a></p>
<p>FYI: I&#8217;m running APC on a VPS where there are now 4 sites installed, they all use the same APC and W3TC settings. One of the sites contains about 10.000 posts, whereas the others contain 100-200. All sites are incredibly fast after I got it to work! :)</p>
<p>Thanks for your info and sharing this guide! :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Downloadz Portal		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5479</link>

		<dc:creator><![CDATA[Downloadz Portal]]></dc:creator>
		<pubDate>Sun, 05 Aug 2012 12:27:11 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-5479</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5477&quot;&gt;Chris Gilligan&lt;/a&gt;.

I&#039;m only running one host, and it&#039;s on in php.ini

I&#039;ll check the .htaccess.

Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5477">Chris Gilligan</a>.</p>
<p>I&#8217;m only running one host, and it&#8217;s on in php.ini</p>
<p>I&#8217;ll check the .htaccess.</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris Gilligan		</title>
		<link>https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5477</link>

		<dc:creator><![CDATA[Chris Gilligan]]></dc:creator>
		<pubDate>Sat, 04 Aug 2012 19:33:41 +0000</pubDate>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=274#comment-5477</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5476&quot;&gt;Downloadz Portal&lt;/a&gt;.

You should have hundreds of files cached. Looks like APC is loaded and live, but your Apache host is not caching anything. Check your php.ini, and you may need to enable APC via .htacccess -- http://linuxsysadminblog.com/2010/03/enabledisable-apc-on-virtual-host-level/

The way my VPS is set up, I am running multiple virtual hosts under mod_fcgid, so each vhost has it&#039;s own unique php.ini. If you are only running a single host via mod_php or php_fpm, then you probably need to enable APC with .htaccess or make it default on in php.ini.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/#comment-5476">Downloadz Portal</a>.</p>
<p>You should have hundreds of files cached. Looks like APC is loaded and live, but your Apache host is not caching anything. Check your php.ini, and you may need to enable APC via .htacccess &#8212; <a href="http://linuxsysadminblog.com/2010/03/enabledisable-apc-on-virtual-host-level/" rel="nofollow ugc">http://linuxsysadminblog.com/2010/03/enabledisable-apc-on-virtual-host-level/</a></p>
<p>The way my VPS is set up, I am running multiple virtual hosts under mod_fcgid, so each vhost has it&#8217;s own unique php.ini. If you are only running a single host via mod_php or php_fpm, then you probably need to enable APC with .htaccess or make it default on in php.ini.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d2lehxir4n36oh.cloudfront.net
Lazy Loading (feed)

Served from: chrisgilligan.com @ 2026-02-24 07:06:59 by W3 Total Cache
-->