Thanks, got it working here, got a bit of garbage at the end of the request, but I had the full php script output.
I'll try to glue that in some asyncweb httpservice for doing more tests tomorrow. Julien On Tue, 22 Apr 2008 18:09:39 +0200 "Daniel Wirtz" <[EMAIL PROTECTED]> wrote: > Yes, you need a PHP installation with CGI/FCGI enabled. > > For example on Debian the package php5-cgi will do the job (php5-cgi > -b 1025). > On windows you can use the php-cgi.exe (php-cgi.exe -b 1025). > Of course you can compile your own with --with-fastcgi enabled (php -b > 1025). > > Afterwards you need to configure the document_root and path static > variables in your favorite example client (FCGIExampleClient.java or > FCGIExampleHandler.java) to match a real file on your harddisk. For > example: > > document_root = "C:/htdocs" > path = "/phpinfo.php" > > with "<?php phpinfo(); ?>" as the content of phpinfo.php for testing. > If the file does not exist, the result will be "No input file > specified.". On Tue, Apr 22, 2008 at 5:51 PM, Julien Vermillard > <[EMAIL PROTECTED]> wrote: > > > On Tue, 22 Apr 2008 10:12:46 +0200 > > Julien Vermillard <[EMAIL PROTECTED]> wrote: > > > > > On Tue, 22 Apr 2008 01:09:09 +0200 > > > "Daniel Wirtz" <[EMAIL PROTECTED]> wrote: > > > > > > > Hello everyone, > > > > > > > > as already announced, I created a first preview package of > > > > FastCGI on top of mina which I named AsyncFCGI according to the > > > > naming of the excelent AsyncWeb for HTTP. I didn't set up a svn > > > > server for this, but feel free to check it out by downloading at > > > > http://daniel.users.hostunity.net/asyncfcgi/. Of course you can > > > > contact me if you notice any strange behaviour or have further > > > > suggestions. > > > > > > > > Hope you like it so far, > > > > Daniel > > > Hi Daniel, > > > > > > First, it very good looking :) > > > > > > First comment you could have used the MINA2.0 provided state > > > machine (org.apache.mina.filter.codec.statemachine) decoder for > > > your decoder (we know the doc is thin on the subject). > > > > > > I'm going to test it, today or tommorow, more comment to come ! > > > > > > Julien > > > > for testing a simple php configured with --with-fastcgi will > > suffice ? > >
signature.asc
Description: PGP signature
