Skip to content

PHP 5.4 built-in server support #17

@laurentb

Description

@laurentb

PHP 5.4 has the ability to be its own web server.
http://www.php.net/manual/en/features.commandline.webserver.php
The advantage is obvious, there would be no non-PHP dependency anymore.

Symfony 2 actually already supports it: symfony/symfony@d9a0a17

It would be fairly easy to add its support to Symfony 1.x, by creating the appropriate router.php and starting php -S.

A better router.php could be made for both, to support the existing symfttpd features like displaying logs in the terminal, I'm not sure how others could be done (for instance, the lighttpd config, by default, forces the expiration of every file, which is very nice for development).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions