Webserver on wp76 with php


I’m trying ta add a basic webserver on the wp76xx module. So far I have added a simple webserver based on the wifiWebAp sample. But it is based on cgi-bin and as I want to add a log in page and sessions I’m looking to add PHP to my yocto source.

Have anyone done something similar on the WP module?
And should I add apache as well?

Does this help?