<?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 have a central VCL for PHP location for all your websites</title>
	<atom:link href="http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/</link>
	<description>Cold storage before my best ideas melt away...</description>
	<lastBuildDate>Mon, 22 Feb 2010 13:23:08 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anderson</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-18647</link>
		<dc:creator>Anderson</dc:creator>
		<pubDate>Wed, 11 Apr 2007 19:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-18647</guid>
		<description>Thanks A LOT David Plock. Your tip works great !!!

(Ubuntu Server 7.04 Beta)
cd /var/www/vcl
tar -vzxf vcl_for_php_1_0.tar.gz
nano /etc/php5/apache2/php.ini [ include_path = &quot;/var/www&quot; ]
nano /etc/apache2/httpd.conf [ Alias /vcl-bin/ &quot;/var/www/vcl/&quot; ]
/etc/init.d/apache2 restart

Anderson Francisco - anderson@unifal-mg.edu.br
University of Alfenas - Brazil - www.unifal-mg.edu.br</description>
		<content:encoded><![CDATA[<p>Thanks A LOT David Plock. Your tip works great !!!</p>
<p>(Ubuntu Server 7.04 Beta)<br />
cd /var/www/vcl<br />
tar -vzxf vcl_for_php_1_0.tar.gz<br />
nano /etc/php5/apache2/php.ini [ include_path = "/var/www" ]<br />
nano /etc/apache2/httpd.conf [ Alias /vcl-bin/ "/var/www/vcl/" ]<br />
/etc/init.d/apache2 restart</p>
<p>Anderson Francisco &#8211; <a href="mailto:anderson@unifal-mg.edu.br">anderson@unifal-mg.edu.br</a><br />
University of Alfenas &#8211; Brazil &#8211; <a href="http://www.unifal-mg.edu.br" rel="nofollow">http://www.unifal-mg.edu.br</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Plock</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17302</link>
		<dc:creator>David Plock</dc:creator>
		<pubDate>Wed, 04 Apr 2007 05:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17302</guid>
		<description>Update in the code I posted - some of the samples (the clock for one) did not work. Changing the Alias in the httpd.conf to:

Alias /vcl-bin “/usr/local/apache/htdocs/vcl”

Seems to fix the problem.</description>
		<content:encoded><![CDATA[<p>Update in the code I posted &#8211; some of the samples (the clock for one) did not work. Changing the Alias in the httpd.conf to:</p>
<p>Alias /vcl-bin “/usr/local/apache/htdocs/vcl”</p>
<p>Seems to fix the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17241</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 03 Apr 2007 21:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17241</guid>
		<description>Nope.  It&#039;s a framework you can use straight from PHP.  Use it through Zend Studio if you like.</description>
		<content:encoded><![CDATA[<p>Nope.  It&#8217;s a framework you can use straight from PHP.  Use it through Zend Studio if you like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17237</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 03 Apr 2007 21:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17237</guid>
		<description>VLC? You need PHP 4 Delpi though?</description>
		<content:encoded><![CDATA[<p>VLC? You need PHP 4 Delpi though?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17225</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 03 Apr 2007 19:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17225</guid>
		<description>Good one david!</description>
		<content:encoded><![CDATA[<p>Good one david!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Plock</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17220</link>
		<dc:creator>David Plock</dc:creator>
		<pubDate>Tue, 03 Apr 2007 19:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17220</guid>
		<description>You can also implement  a Central VCL on a Unix/Apache install as follows:

1) Upload the vcl folder to your web root. (assuming root is /usr/local/apache/htdocs for examples)

2) Edit your php.ini file include_path directive to also point to your web root.
(for example: include_path= &quot;.:/usr/local/apache/htdocs&quot;)

3) Edit your httpd.conf and enter a Alias for the vcl-bin that points to the vcl directory
(for example: Alias /vcl-bin/ &quot;/usr/local/apache/htdocs/vcl/&quot;

Now I can just upload the program files created by D4PHP to whatever folder I want.

I believe you can actually place the vcl folder outside your web directory structure. You would then probably need to add a Directory directive to the httpd.conf file to set the correct access permissions on that directory but I did not test this.

Other changes I made on the server were to increase the php memory size to 16M from 8M (I was getting memory allocation errors on the blog sample), 

And I modified the system.inc.php and replaced the input filter code with a GPL input filter (my version of php 5.2.1 on server didn&#039;t have an installed filter and I did not see one in the extensions).</description>
		<content:encoded><![CDATA[<p>You can also implement  a Central VCL on a Unix/Apache install as follows:</p>
<p>1) Upload the vcl folder to your web root. (assuming root is /usr/local/apache/htdocs for examples)</p>
<p>2) Edit your php.ini file include_path directive to also point to your web root.<br />
(for example: include_path= &#8220;.:/usr/local/apache/htdocs&#8221;)</p>
<p>3) Edit your httpd.conf and enter a Alias for the vcl-bin that points to the vcl directory<br />
(for example: Alias /vcl-bin/ &#8220;/usr/local/apache/htdocs/vcl/&#8221;</p>
<p>Now I can just upload the program files created by D4PHP to whatever folder I want.</p>
<p>I believe you can actually place the vcl folder outside your web directory structure. You would then probably need to add a Directory directive to the httpd.conf file to set the correct access permissions on that directory but I did not test this.</p>
<p>Other changes I made on the server were to increase the php memory size to 16M from 8M (I was getting memory allocation errors on the blog sample), </p>
<p>And I modified the system.inc.php and replaced the input filter code with a GPL input filter (my version of php 5.2.1 on server didn&#8217;t have an installed filter and I did not see one in the extensions).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17160</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 03 Apr 2007 11:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17160</guid>
		<description>Yeah, actually a .htaccess solution should work just as easily.  I&#039;d a reason I didn&#039;t use .htaccess when I came up with this, but at the moment I cannot think of what in the world that might have been...</description>
		<content:encoded><![CDATA[<p>Yeah, actually a .htaccess solution should work just as easily.  I&#8217;d a reason I didn&#8217;t use .htaccess when I came up with this, but at the moment I cannot think of what in the world that might have been&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando Madruga</title>
		<link>http://www.thecodecave.com/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/comment-page-1/#comment-17153</link>
		<dc:creator>Fernando Madruga</dc:creator>
		<pubDate>Tue, 03 Apr 2007 11:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecodecave.com/article366#comment-17153</guid>
		<description>Actually, an alternative may be doing that in the webserver configuration: both IIS and Apache will allow you to do it without messing with lynks, and besides, NTFS links are &quot;same drive&quot; only which limits their usefulness...</description>
		<content:encoded><![CDATA[<p>Actually, an alternative may be doing that in the webserver configuration: both IIS and Apache will allow you to do it without messing with lynks, and besides, NTFS links are &#8220;same drive&#8221; only which limits their usefulness&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
