Creating a global COM in Windows on PHP ???

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I need to have a com object accessible throughout the website mon a windows
machine using PHP and Apache.
I am able to use the COM object in my php scripts but the object gets
re-instantiated for every new page and user which involves more overhead
then I desire.

Is there a way to globally create such on object on the start up of the
server with PHP using Apache so that everytime the com object is required it
does not have to get re-created.

In ASP there is the on application start in the Global.asa.  Is there an
equivalent in PHP ??


Site Timeline