When using dl("mymodule.so") or include the line:
extension=mymodule.so in php.ini
I have noticed that the modules are being loaded every time the user goes to a new html-page. Since my program (written in C using malloc) has some data stored it will be lost.
I wonder if I make a built-in module and recompile PHP if the data stored in the module will be lost?
Marcus