Hi All
My name is Erez and I am trying to create php application that using singleton.
My web server is obviously nginx :)
I noticed that my php singleton is always disposed when the page request war ended.
I googled it and i think that i found a solution to this problem, I am using fast-cgi to run php. the fast-cgi is runing the php page in a different process.
I need to create singleton in the application that will be accessible from all the pages.
Can you recommend me a good way to create and use singletons?
Thanks
Erez