I was wondering which is the best method of doing this? All I need is to be able to run a php script. I wouldn't need to mix java and php together. Basocally it would be a pure php script I will be running on tomcat.