Hi Michael,
Have you looked into PHP application servers, where the PHP code itself
acts as the web (or FastCGI) server, and so can keep the whole framework
etc. initialised in memory between requests?
This is how other (non-PHP) web stacks avoid “installing the application
on every single request”, and it can also be applied to PHP, it's just
not very common.
One example is Aerys (https://github.com/amphp/aerys), but it's hardly
the first or the last example of this approach.
Thanks.
--
Andrea Faulds
https://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php