Creating a global COM in Windows on PHP ???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MiLoS

    Creating a global COM in Windows on PHP ???

    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 ??


    TIA
    MiLoS


Working...