Is there anyway to register a PHP callback function to be executed when the HTTP server is shutdown?
+4
A:
No, because PHP would already have been shutdown since it is the server that loads it as a module.
Lex
2009-10-22 09:18:45
A:
There might exists some hooks that can be called on BeforeShutdown() but they depend on the HTTP server flavour and the callbacks may or not be appliable to PHP. This could be a question for serverFault.
Elzo Valugi
2009-10-22 09:37:22