title: How to use Java from PHP 5
body: <p>I've looked at quite a few tutorials on using Java from PHP, but they seem to conflict with eachother. Many of them say to change php.ini to use a dll file, but apparently there are "built in" capabilities in PHP 5 now. But that requires Tomcat? Do I have to get rid of Apache to run that? <a href="http://php-java-bridge.sourceforge.net/pjb/installation.php">http://php-java-bridge.sourceforge.net/pjb/installation.php</a> says to put the .war file into Tomcat's autodeploy directory, but I don't see any directory called "autodeploy". Would someone explain step-by-step how to get get Java stuff working on a Windows machine (I'm using Windows 7) with PHP 5 and Apache?</p>