I am porting an application from Java Servlet to PHP. What's the equivalent of Servlet.init() in PHP?
Basically, the page uses a table that needs to be calculated. It's quite expensive operations. I am using a LAMP. I wonder if there is a way to initialize the table just once at Apache startup?