From: <php...@li...> - 2006-10-07 16:42:49
|
Hi, > I cannot find any file in the php release named > 'php-cgi.exe'. I It is called php-cgi-x86-windows.exe. > using a path to the cli Doesn't work. The command line interface only works on the command line. :) You need the php-cgi.exe. > version and the cgi > (c:/php/php.exe) version of > php.exe in the Are you sure that php.exe is a cgi binary? IMHO the cgi binary is called php-cgi.exe. However, I think it is best to download and to install the php integration kit for windows and use the launcher.exe so that the PHP/Java Bridge can use the FastCGI interface instead of CGI: http://www.alphaworks.ibm.com/tech/phpintwasce/download Basically the windows version of PHP has been compiled without a standalone fast cgi server; the -b flag is missing in the windows php binary. Until the PHP people add this capability to the windows version of php, the above launcher.exe is required to run PHP efficiently on windows. > it from fulfilling this request. > exception > javax.servlet.ServletException: String index out of > range: -1 This probably means that no HTTP header fields were sent, which may mean that the bridge uses the CLI instead of the CGI version of PHP. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |