<?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>neighborhood Archives - Chris Gilligan » new media</title>
	<atom:link href="http://chrisgilligan.com/tag/neighborhood/feed/" rel="self" type="application/rss+xml" />
	<link>https://chrisgilligan.com/tag/neighborhood/</link>
	<description>portfolio of web work</description>
	<lastBuildDate>Mon, 03 Dec 2012 17:50:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.4</generator>
	<item>
		<title>APC Cache Considerations for Virtual Hosting Environments</title>
		<link>https://chrisgilligan.com/consulting/apc-cache-considerations-for-virtual-hosting-environments/</link>
					<comments>https://chrisgilligan.com/consulting/apc-cache-considerations-for-virtual-hosting-environments/#comments</comments>
		
		<dc:creator><![CDATA[Chris Gilligan]]></dc:creator>
		<pubDate>Mon, 22 Aug 2011 14:58:21 +0000</pubDate>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[Virtualmin]]></category>
		<category><![CDATA[Web Server Performance Tuning]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[commodity]]></category>
		<category><![CDATA[configured]]></category>
		<category><![CDATA[conflicts]]></category>
		<category><![CDATA[cpu requirements]]></category>
		<category><![CDATA[environments]]></category>
		<category><![CDATA[hosting server]]></category>
		<category><![CDATA[ini]]></category>
		<category><![CDATA[neighborhood]]></category>
		<category><![CDATA[personal clients]]></category>
		<category><![CDATA[php script]]></category>
		<category><![CDATA[script packages]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[virtual host]]></category>
		<category><![CDATA[virtual hosts]]></category>
		<category><![CDATA[virtual server]]></category>
		<category><![CDATA[virtualmin]]></category>
		<category><![CDATA[web hosting servers]]></category>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=505</guid>

					<description><![CDATA[<p>APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a [&#8230;]</p>
<p>The post <a href="https://chrisgilligan.com/consulting/apc-cache-considerations-for-virtual-hosting-environments/">APC Cache Considerations for Virtual Hosting Environments</a> appeared first on <a href="https://chrisgilligan.com">Chris Gilligan » new media</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="float: right; margin: 0 0 10px 15px; width:240px; height: auto;">
		<img src="https://d2lehxir4n36oh.cloudfront.net/wp-content/uploads/2010/10/Screen-shot-2010-10-13-at-6.20.12-PM.png?x25141" width="240" style="max-width: 100%; height: auto;" />
		</p><p>APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great.</p>
<p><a title="How to Configure APC Cache on Virtual Servers with PHP running under FCGId" href="https://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-virtual-servers-with-php-running-under-fcgid/">I suggest using Virtualmin for a shared hosting environment with APC cache</a>, because it does allow to set php.ini and fcgiwrapper for every individual virtual host, and so to set an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server.</p>
<p>My web hosting server is for a small number of personal clients, so I adjust the APC settings for each individual account, depending on the number and type of PHP script packages running on the account. These accounts are all administered by myself, not by the clients.</p>
<p>I do not think APC is the correct cache for most shared web hosting servers, given the number of virtual hosts. You will probably have better results if you remove APC and concentrate on <a title="Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment" href="https://chrisgilligan.com/portfolio/tuning-apache-and-mysql-for-best-performance-in-a-shared-virtual-hosting-environment/">Apache performance tuning and MySQL cache</a>.</p>
<p>If your clients are adamant in their requests to use APC cache, you may wish to move them to a different server which can properly handle their needs. Virtualmin is a very good choice for this, as it allows individual accounts to be configured with individual php.ini and fcgiwrapper, or even different versions of PHP. Of course, because this will require greater management, it should be charged as a premium service.</p>
<p>If you wish to enable APC on a commodity web hosting server, you may try the following method to selectively enable APC per directory:<br />
<a href="http://www.php.net/manual/en/ini.php">http://www.php.net/manual/en/ini.php</a></p>
<p><em>Also see other recommendations in following comments&#8230; </em></p>
<p>&nbsp;</p>
<p>The post <a href="https://chrisgilligan.com/consulting/apc-cache-considerations-for-virtual-hosting-environments/">APC Cache Considerations for Virtual Hosting Environments</a> appeared first on <a href="https://chrisgilligan.com">Chris Gilligan » new media</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://chrisgilligan.com/consulting/apc-cache-considerations-for-virtual-hosting-environments/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</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-25 08:18:06 by W3 Total Cache
-->