Re: RFC: built-in web server in CLI.
| From: | Alexey Zakhlestin | Date: | Thu, 03 Mar 2011 06:35:16 +0000 |
| Subject: | Re: RFC: built-in web server in CLI. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51553@lists.php.net to get a copy of this message | ||
On Wed, Mar 2, 2011 at 11:55 PM, Moriyoshi Koizumi <mozo@mozo.jp> wrote:
> Hi,
>
> Just to let you know that I wrote a RFC about built-in web server
> feature with which PHP can serve contents without a help of web
> servers. Â That would be handy for development purpose.
>
> If interested, have a look at http://wiki.php.net/rfc/builtinwebserverÞÙ8Ëi
> �³�ŽjAPl3 .
Interesting, indeed.
I noticed, that you hardcode mimetypes and index_files.
Mimetypes can probably be obtained from the system — we even had some
extension doing that.
And index_files should be configurable, because there are some
situations when people don't want any mime-types at all.
Also, it would be good to be able to configure which files are
actually parsed by php, not just served. Currently, these are only
".php" files
--
Alexey Zakhlestin, http://twitter.com/jimi_dini
http://www.milkfarmsoft.com/