forked from fabriceb/symfttpd
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
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).
Reactions are currently unavailable