RE: [PHP-DEV] RFC: built-in web server in CLI.

From: Date: Mon, 18 Apr 2011 04:07:00 +0000
Subject: RE: [PHP-DEV] RFC: built-in web server in CLI.
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-51924@lists.php.net to get a copy of this message
I really like the idea. Just to be clear though I'd change: Server is listening on localhost:8000... Press CTRL-C to quit. To something like: PHP Development Server is listening on localhost:8000... Press CTRL-C to quit. I think that makes it very clear this is for development and enhancements will be focused on ensuring the dev environment works and not trying to make this into a mini Apache. Andi > -----Original Message----- > From: Richard Quadling [mailto:rquadling@gmail.com] > Sent: Sunday, April 17, 2011 1:29 PM > To: Mikael Fernandus S > Cc: Philip Olson; Moriyoshi Koizumi; Christopher Jones; internals Mailing List > Subject: Re: [PHP-DEV] RFC: built-in web server in CLI. > > On 17 April 2011 15:51, Mikael Fernandus S <mikaelf@gmail.com> wrote: > > As a non core dev, I would like to say that the patches are so handy > > and this feature will be so helpful in portable php development > > scenarios. > > +1 on this and hoping it will make into the main branch pretty soon. > > > > Similar with others, my suggestion is to put the docroot and router > > script as parts of the options. An option to specify max number of > > connections would be nice but perhaps it can be in a future wishlist. > > > > Regards, > > Mike > > > > On Sun, Apr 17, 2011 at 8:17 AM, Philip Olson <philip@roshambo.org> wrote: > >> Greetings Moriyoshi and all, > >> > >> Are people still thinking about this? And how about applying the > current/revised patch to trunk thus making it easier to play with and break, but > not freeze its features/API yet. > >> > >> Also the wiki is up again so: > >> > >>  - RFC: https://wiki.php.net/rfc/builtinwebserver > >>  - Patch is here: http://gist.github.com/835698 > >> > >> Regards, > >> Philip > > > What would happen if you could combine these patches with the Win32Service > pecl extension ... could you not have a real PHP orientated web server running > which was capable of starting up and shutting down with the OS. > > Hey! Who would need IIS or Apache then! (OK. Just kidding). > > -- > Richard Quadling > Twitter : EE : Zend > @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY > > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: > http://www.php.net/unsub.php

« previous php.internals (#51924) next »