i'm really interesting in execute some applications in java via PHP. The documentation of PHP tells that to use AWT php must to run as CGI...Well,How i configure IIS 5.0??
If you just read the PHP installation documents, it explains quite clearly how to set up PHP both ways: as CGI, and as an ISAPI module for IIS. -------------------
Look for the section titled Windows NT/2000/XP and IIS 4 or newer, and it explains right away how to do the CGI, and then the ISAPI version. -------------------
Rycamor i've tried to configured my IIS with this information but i cant launch a AWT application in java. the program works because in pws works very well.
well, finally I found the post and.... it was mine ;P, well, i followed the post but the problem is the same the application in php that launched a awt "pluggin" didnt works.
The script is the follow:
<?php
// This example is only intented to be run as a CGI.
$frame = new Java('java.awt.Frame', 'PHP');
$button = new Java('java.awt.Button', 'Hello Java World!');
My IIS 5.0 (i supose) is configure with PHP as a CGI because i follow your steps and i can obtain a PHP-page but when i try to access a PHP-page with awt (like the script before) i dont obtain anything.... this is my problem. In pws under win98 the same scripts works very well..... Why?? I dont know ....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.