<?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: Running multiple instances of Apache</title>
	<atom:link href="http://www.adaniels.nl/articles/running-multiple-instances-of-apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/</link>
	<description>It's all about me, mysql and Einstein.</description>
	<lastBuildDate>Fri, 19 Mar 2010 15:00:30 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: olivier pare</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-209579</link>
		<dc:creator>olivier pare</dc:creator>
		<pubDate>Thu, 29 Oct 2009 16:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-209579</guid>
		<description>Thanks, smart usage of mod_macro.

The next step (for security) would be to execute php scripts as differents users, as it can be done with suexec + php-cgi. MPM ITK permits this using mod_php. 

I am thinking at a combination with your trick : ITK + multiples mod_php could be a fine production shared hosting, isn&#039;t it ? Has somebody ever tried ?

Regards,</description>
		<content:encoded><![CDATA[<p>Thanks, smart usage of mod_macro.</p>
<p>The next step (for security) would be to execute php scripts as differents users, as it can be done with suexec + php-cgi. MPM ITK permits this using mod_php. </p>
<p>I am thinking at a combination with your trick : ITK + multiples mod_php could be a fine production shared hosting, isn&#8217;t it ? Has somebody ever tried ?</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Golan</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-22583</link>
		<dc:creator>Golan</dc:creator>
		<pubDate>Thu, 10 Apr 2008 14:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-22583</guid>
		<description>Sweet nifty little example. Gonna give it a try, but seems pretty straightforward.
&lt;a title=&quot;
&quot; href=&quot;http://blogizen.org/golanliving/&quot;&gt;דירות בגולן&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Sweet nifty little example. Gonna give it a try, but seems pretty straightforward.<br />
<a title="<br />
" href="http://blogizen.org/golanliving/">דירות בגולן</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Kaiser</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-7454</link>
		<dc:creator>Andreas Kaiser</dc:creator>
		<pubDate>Mon, 10 Dec 2007 14:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-7454</guid>
		<description>Great tutorial. Just what I needed for my server.

But I&#039;m having some problems. I allways get the &quot;no listening sockets available, shutting down&quot; when using apache2 -k start

When I use &quot;apache2-php5ctl&quot; (or &quot;apache2-php4ctl&quot;) the pid file is created and the server works.

But when using &quot;apache2 -k stop&quot; I get error: &quot;httpd (no pid file) not running&quot;, when using &quot;apache2-php5ctl stop&quot; the server is stopped.

I think I have made something wrong in &quot;/etc/init.d/apache2-php5&quot;

Note: I can&#039;t find &quot;for i in $AP_CONF&quot; in my apache2-php5 file</description>
		<content:encoded><![CDATA[<p>Great tutorial. Just what I needed for my server.</p>
<p>But I&#8217;m having some problems. I allways get the &#8220;no listening sockets available, shutting down&#8221; when using apache2 -k start</p>
<p>When I use &#8220;apache2-php5ctl&#8221; (or &#8220;apache2-php4ctl&#8221;) the pid file is created and the server works.</p>
<p>But when using &#8220;apache2 -k stop&#8221; I get error: &#8220;httpd (no pid file) not running&#8221;, when using &#8220;apache2-php5ctl stop&#8221; the server is stopped.</p>
<p>I think I have made something wrong in &#8220;/etc/init.d/apache2-php5&#8243;</p>
<p>Note: I can&#8217;t find &#8220;for i in $AP_CONF&#8221; in my apache2-php5 file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold Daniels</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-5458</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Sat, 03 Nov 2007 11:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-5458</guid>
		<description>I haven&#039;t got any experience with Apache on Windows. Please read this article to see if it applies to your situation.

http://www.emphasisdevelopment.com/wp/12-2005/switching-between-multiple-php-versions-usimg-apache-on-windows/</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t got any experience with Apache on Windows. Please read this article to see if it applies to your situation.</p>
<p><a href="http://www.emphasisdevelopment.com/wp/12-2005/switching-between-multiple-php-versions-usimg-apache-on-windows/" rel="nofollow">http://www.emphasisdevelopment.com/wp/12-2005/switching-between-multiple-php-versions-usimg-apache-on-windows/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elroy</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-5454</link>
		<dc:creator>Elroy</dc:creator>
		<pubDate>Sat, 03 Nov 2007 09:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-5454</guid>
		<description>Hi Arnold,

do you think it is possible to run parallel instances of Apache 2 and Apache 2.2 on a windows machine (different ports of course)?</description>
		<content:encoded><![CDATA[<p>Hi Arnold,</p>
<p>do you think it is possible to run parallel instances of Apache 2 and Apache 2.2 on a windows machine (different ports of course)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold Daniels</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-4876</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Fri, 19 Oct 2007 12:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-4876</guid>
		<description>Hi Paul,
A short answer: Yes.</description>
		<content:encoded><![CDATA[<p>Hi Paul,<br />
A short answer: Yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Tipper</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-4873</link>
		<dc:creator>Paul Tipper</dc:creator>
		<pubDate>Fri, 19 Oct 2007 09:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-4873</guid>
		<description>Arnold,

Is it possible to run 2 instances of Apache using the same IP address but on different ports?</description>
		<content:encoded><![CDATA[<p>Arnold,</p>
<p>Is it possible to run 2 instances of Apache using the same IP address but on different ports?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold Daniels</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-2989</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Sat, 01 Sep 2007 23:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-2989</guid>
		<description>Catch this article in French at http://g-rossolini.developpez.com/tutoriels/logiciels/plusieurs-apache-simultanes</description>
		<content:encoded><![CDATA[<p>Catch this article in French at <a href="http://g-rossolini.developpez.com/tutoriels/logiciels/plusieurs-apache-simultanes" rel="nofollow">http://g-rossolini.developpez.com/tutoriels/logiciels/plusieurs-apache-simultanes</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold Daniels</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-2725</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Wed, 22 Aug 2007 17:22:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-2725</guid>
		<description>Well that&#039;s it basically. If PHP is running as CGI, each page requests uses an additional process. This has heavy consequences on the load of the system (mem, CPU), impacting the performance and limiting the number of accounts per server (ca 30% in our tests).

If you have security in mind, you should suid the Apache process and not only the CGI process (mpm-itk or perchild). That is, if you want don&#039;t disable .htaccess files and we don&#039;t want to do that. For your information, we didn&#039;t really like the performance impact of itk, so we run a custom module which does the switching.</description>
		<content:encoded><![CDATA[<p>Well that&#8217;s it basically. If PHP is running as CGI, each page requests uses an additional process. This has heavy consequences on the load of the system (mem, CPU), impacting the performance and limiting the number of accounts per server (ca 30% in our tests).</p>
<p>If you have security in mind, you should suid the Apache process and not only the CGI process (mpm-itk or perchild). That is, if you want don&#8217;t disable .htaccess files and we don&#8217;t want to do that. For your information, we didn&#8217;t really like the performance impact of itk, so we run a custom module which does the switching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DM</title>
		<link>http://www.adaniels.nl/articles/running-multiple-instances-of-apache/comment-page-1/#comment-2701</link>
		<dc:creator>DM</dc:creator>
		<pubDate>Tue, 21 Aug 2007 15:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=13#comment-2701</guid>
		<description>Thanx for article, Arnold.

Sorry for my poor English ;)
But why not to use one version of PHP as module and the others (php5, php6) as cgi? On the hosting such approach will give even more security, cause in such manner you could execute php-scripts with privileges of selected user.
Or cgi approach has some disadvantages compared to module? (sure, except time needed for loading interpreter at first request)</description>
		<content:encoded><![CDATA[<p>Thanx for article, Arnold.</p>
<p>Sorry for my poor English <img src='http://www.adaniels.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
But why not to use one version of PHP as module and the others (php5, php6) as cgi? On the hosting such approach will give even more security, cause in such manner you could execute php-scripts with privileges of selected user.<br />
Or cgi approach has some disadvantages compared to module? (sure, except time needed for loading interpreter at first request)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
