I've got PHP 4.3.11 compiled as a dynamic object loaded into Apache 1.3.33 with turck-mmcache 2.4.6.
Every time somebody hits a page on my website a PHP script will load about 10 megs worth of dynamic data. What I would love to do is create some sort of daemon-like object which could load that 10 megs worth of data and stay alive. Then each PHP script could query and update that daemon-object. What is the best way to go about this?
Create a real daemon with a PHP extension that communicates with it?
Is it possible to create a PHP extension or Apache module which loads only once and manages the data?