How can install PHP JAVA Bridge locally and configuration.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kishor101
    New Member
    • Jul 2013
    • 1

    #1

    How can install PHP JAVA Bridge locally and configuration.

    hey guys.
    i save file .php extension but run on java platform.
    How can it possibe.
    please help me.
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Why would you write PHP code to run on a Java platform?

    PHP and Java are completely different things; you can't just run PHP code on a JVM. PHP has to be executed by the PHP interpretor. You can, of course, set PHP and Java code up to communicate with each other, but not to run in each others environment.

    That PHP/Java Bridge thing you mention in your title appears to be exactly that; a way for PHP and Java code to communicate with each other. They still run on their own, in their own processes. The PHP code just sends requests to a running Java server to execute functions and return results. Much like SOAP, just faster.

    Comment

    Working...