In general no. There is, however, a PHP implementation written in Java which will most likely allow you to do what you need which can run in most web containers.
Have a look at Quercus from Caucho. Here is the tutorial: http://quercus.caucho.com/quercus-3.1/examples/quercus.xtp