That would be pretty cool!<br><br><div class="gmail_quote">On Mon, Aug 1, 2011 at 3:27 PM, Eric Junker <span dir="ltr"><<a href="mailto:eric@eric.nu">eric@eric.nu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 8/1/2011 3:01 PM, Matthew Nuzum wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My team works on numerous projects for internal company use. Many of<br>
them are Python/Django projects and we can test them locally with<br>
Python's built in web server just by running ./manage.py runserver in<br>
the project's root and then visiting <a href="http://localhost:8000/" target="_blank">http://localhost:8000/</a> in your browser.<br>
<br>
Is there something like this for PHP?<br>
</blockquote>
<br></div>
PHP 5.4 will have that.<br>
<a href="http://php.net/manual/en/features.commandline.webserver.php" target="_blank">http://php.net/manual/en/<u></u>features.commandline.<u></u>webserver.php</a><br>
<br>
There is also some good discussion of this on Hacker News.<br>
<a href="http://news.ycombinator.com/item?id=2281724" target="_blank">http://news.ycombinator.com/<u></u>item?id=2281724</a><br>
<br>
My concern would be that you would run into issues if your website depended on things like mod_rewrite or expecting to be served from a specific domain. You could get somewhat automated if you wrote a script to modify your hosts file and also create virtual hosts entries.<br>
<font color="#888888">
<br>
Eric</font><div><div></div><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org" target="_blank">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/<u></u>listinfo/cialug</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Kenneth Younger III<br>Founder, Sheer Focus Inc.<br>e: <a href="mailto:kenny@sheerfocus.com" target="_blank">kenny@sheerfocus.com</a><br>
p: (515) 367-0001<br>t: <a href="http://twitter.com/kenny" target="_blank">@kenny</a></font><br>