I have problem with my JAVA call in my PHP page. Here is my PHP test page index.php
PHP Code:
<?php
require_once("java/Java.inc" );
$system = new Java("java.lang.System" );
print "Java version=".$system->getProperty("java.version" )." <br>\n";
?>
Here is the error received after 30 seconds
Warning: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1:8080 (A connection attempt failed because the connected party did not properly respond beyond a certain time or established connection failed because connected host has not responded. ) in C:\Inetpub\wwwroot\testphp\java\Java.inc on line 922
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\testphp\java\Java.inc on line 922
It seems to point to the 8080 ...
- I am using IIS port 80
- I also configured the "java.port" in "php.ini" to "localhost" ...
Bookmarks