[Cialug] Lightweight webserver for local php dev

Matthew Nuzum newz at bearfruit.org
Mon Aug 1 15:56:22 CDT 2011


On Mon, Aug 1, 2011 at 3:24 PM, Matthew Nuzum <newz at bearfruit.org> wrote:

> On Mon, Aug 1, 2011 at 3:11 PM, Jeffrey Ollie <jeff at ocjtech.us> wrote:
>
>> On Mon, Aug 1, 2011 at 3:01 PM, Matthew Nuzum <newz at bearfruit.org> wrote:
>> > My team works on numerous projects for internal company use. Many of
>> them
>> > are Python/Django projects and we can test them locally with Python's
>> built
>> > in web server just by running ./manage.py runserver in the project's
>> root
>> > and then visiting http://localhost:8000/ in your browser.
>> > Is there something like this for PHP?
>>
>> Why not just use Apache and mod_php?  It shouldn't take that long to
>> hack together a configuration file that listens on a high port and
>> then run it as a user...
>>
>>
> Oh yeah, that's pretty obvious. I'm so used to running apache as a service
> that I forgot you could run it as a regular user. I will look into this and
> let the list know if I find something.
>
>
It's not appearing to be as trivial as I'd first thought. Running apache2 on
Ubuntu 10.04 results in bad user name ${APACHE_RUN_USER} even when trying to
do apache2 -S

apache2ctl may work but it's going to require a complicated, and likely
machine dependent configuration file for each project. I'll keep looking
into it though.

Eric: PHP5.4 improvements look sweet, that'll be nice.

-- 
Matthew Nuzum
newz2000 on freenode, skype, linkedin and twitter

♫ You're never fully dressed without a smile! ♫
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20110801/d7bf86d9/attachment-0001.html>


More information about the Cialug mailing list