I am converting php to run from cgi mode to module mode for performance reasons.
In CGI mode the php code was executing every time. I had the feeling that with this conversion php code will run in memory just like Java. That means if user class was instantiated when user first logged in, it will remain as a class in memory. But it doesnt seem so. All the code needs to be executed every time.
Is there a way to run PHP like java?
Thanks