apache module: how to use shared memory between calls?
Hi!
I'm hacking php (the interpreter) to load php files from memory. I noticed that I'm doing the "loading stuff into memory" for every request I make and I'd like to do it only once while apache is running (the first time a request arrives and then I could reuse this stuff for later calls). I tried setting the stuff I need as "static" in the c code but it's still not shared between calls. What's the right way to do it? Thanks in advance. |
You might try using shared memories.
|
I was wondering if apache's API provided a mechanism for sharing memory.
|
All times are GMT -5. The time now is 12:55 AM. |