[Cialug] Lightweight webserver for local php dev

Barry Von Ahsen barry at vonahsen.com
Tue Aug 2 08:51:30 CDT 2011


On 8/1/2011 10:38 PM, Matthew Nuzum wrote:
> On Mon, Aug 1, 2011 at 10:16 PM, David Champion<dchamp1337 at gmail.com>wrote:
>
>> I've seen various methods of running things like XAMPP, but IMHO it's crazy
>> simple to set up something like what Barry described, or maybe even just
>> give each dev a stripped down VM with the LAMP stack configured.
>>
>> Here's a howto on running XAMPP on Ubuntu.
>>
>> http://ubuntuforums.org/showthread.php?t=223410
>>
>>
> Right, running a full lamp stamp is not a problem. We all use Ubuntu for
> development and we sometimes use VMs.
>
> What would be sweet is to:
>
> {bzr|git|svn} branch some-project
> cd some-project
> fab runserver # or whatever
> open http://localhost:8000/ to test.
>
> xamp, wamp, easyphp, etc have their uses but I don't think they're really
> any better than what we're doing now, installing php and apache system wide
> and configuring a virtual host for each site.

that's how we use my setup at work - I got tired of having to create 
vhost entries for every new project and every new developer's sandbox, 
so now it's svn checkout project /developer/sandbox/project and 
project.developer.mydomain.com is ready to go (minus some .htaccess 
tweaking)

we're all running of the same couple development servers, and in the 
same office, so running lamp all the time isn't a biggie - there might 
be a little more dns setup in your distributed setup


-barry




More information about the Cialug mailing list