well I guess one way would be using a php CGI and pass it on, besides that you would need a php-interpreter written in java.
github.com/thomas-p-wilson/php4j but that's to old I guess and I would recommend to stick with the original php interpreters. it's easier and better maintained.