Memory sharing?
Posted: Wed Sep 20, 2006 12:20 am
In PHP is there such a thing as memory sharing, so that all PHP processes have access to objects/values stored in the main memory area (if there's such a thing in PHP)?
I'm asking this because there's a conf file my application will include. However, I think it's a waste of resources if every single PHP script call requires this file to be opened, read, and closed. It'd be more efficient if it is included once, stored in memory, and fetched by all relevent PHP scripts when requested.
I'm asking this because there's a conf file my application will include. However, I think it's a waste of resources if every single PHP script call requires this file to be opened, read, and closed. It'd be more efficient if it is included once, stored in memory, and fetched by all relevent PHP scripts when requested.