<div dir="ltr">Hey Nancy, not totally sure. It's a VPS server using XEN technology. If anyone can point me on how to find out how much Virtual cores there are, that would be great. But overall, multithreading should help weather it's one processor or more as threads are lightweight compared to processes.<br>
<br>One issue that arose was an internal server error that occurred very very rarely. It seems to be because PHP CGI processes terminate after getting a specific number of requests (500 by default). So apache would abruptly find the prcoess it was talking to terminated and would send a 500 error to the client. That's resolved by either telling PHP never to terminate (and risking memory leaks, which is low I presume?) or by setting the max requests per thread in apache to something less than 500 (I set it to 490). <br>
<br>I'll write a post on D.O once I'm done with more testing. Here's what I'm working on now:<br><br>1. APC doesn't work with this configuration (I don't use it anyway). Seems this is resolved by installing php-fpm. I'll try to set it up in the coming few days.<br>
2. With this configuration, and using suexec I can run each virtualhost using a different user. Now that's the ultimate security. If a site is breached, even with PHP filter and exec function, they can't do damage to any other site!<br>
3. You get some added perks of giving each virtualhost its own PHP.INI file, etc<br><br>As to going nginx+php-fpm. I don't know if I'm eager to ditch apache. Seems like a MAJOR thing. I am, however, going to try to setup php-fpm with apache. I will look into nginx later on of course and try to accumulate some know-how to see if it's worth-while.<br>
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:12pt">
<div><span>I assume you have a computer with multiple cores? Is there any reason to think it would do better with a single core machine?</span></div><div><br><span></span></div><div><span>How about writing up your experiences on D.O?<br>
</span></div><div> </div><div><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><b>Nancy</b></i></font></div> <div><font face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div>
<br></div></div></blockquote><br></div><br><br clear="all"><br>-- <br>Ashraf Amayreh<br>CEO | O-Minds<br>Cell. 962 78 8099997<br>Tel. 962 6 5655150<br>Fax. 962 6 5675150<br>Skype: aamayreh<br><br><a href="http://www.o-minds.com">www.o-minds.com</a><br>
web development | web design<br>user experience | branding design<br><br>Connect with us on Twitter<br><a href="http://twitter.com/ominds">http://twitter.com/ominds</a><br><br>Connect with us on LinkedIn<br><a href="http://www.linkedin.com/in/aamayreh">http://www.linkedin.com/in/aamayreh</a><br>
</div>