4 ms·
Since PHP 5.4 there's a web server built-in: http://php.net/manual/en/features.commandline.webserver.php http://php.net/manual/en/features.commandline.webserver
by mweibel 15y ago
Since PHP 5.4 there's a web server built-in:
http://php.net/manual/en/features.commandline.webserver.php http://php.net/manual/en/features.commandline.webserver.php
Maybe you could rely on that, instead of aip :)
- bergie 15y agoMaybe, though AiP gives us nice control of the process. And it also supports other modes than HTTP, like Mongrel2 and SCGI: https://github.com/indeyets/appserver-in-php/tree/master/AiP/Protocol https://github.com/indeyets/appserver-in-php/tree/master/AiP... Anyway, based on your suggestion I posted a quick ticket about adding support for the built-in PHP webserver: https://github.com/indeyets/appserver-in-php/issues/17 https://github.com/indeyets/appserver-in-php/issues/17
- Mandar 15y agoFrom your very link: "This web server is designed for developmental purposes only, and should not be used in production."