GlassFish Forum has a thread on
Running PHP on GlassFish.
The gist of the thread seems to be that this works.
The solution presented by
uses recipes for Tomcat given at
The Tomcat Wiki
Bjb's last message adds some clarifications.
I would love to have additional confirmations,
a full, self-standing recipe,
and more information on how well does it work; if you do, please post.