From: <php...@li...> - 2017-04-18 16:32:21
|
Hi, (HTTP POST not working in PHP5.5 and above). there's an empty param call needed in PHP 5.4 and above. Please see the NEWS in PHP/Java bridge version 7.1.3 for details. Php <= 5.4 is more robust, but newer PHP versions simply crash when the empty STDIN param is missing. We can back-port the fix for the 6.x series. Please let me know if you need the fix. That beeing said, FastCGI SAPI in PHP version > 5.4 has become *very* slow. Presumably because of this empty write, which (wild guessing here) would cause a write/write/read and therefore run into an "ack delay" (->wikipedia). So you should better report this bug to the PHP devs. Is dimitry still working for zend? In any case, the empty param is required by fcgi spec, so we can prepare a patch for pjb6. On Tuesday, April 18, 2017, <php...@li...> wrote: > Hello! Thanks for your help, all my previous problems with phpdebugger was > resolved when I changed the version of Java Bridge on the 6th. I am using > Java Bridge 6 now and I faced with the error 'HTTP Status 500 - PHP > FastCGI instance failed.' when I am sending any files through the HTML form > with 'enctype="multipart/form-data"'. Why could it happend? I am really > thankful for your help.(PHP 5.6) > > Below is the full text of the error: > > --------------------- > HTTP Status 500 - PHP FastCGI instance failed. > > type Exception report > > message PHP FastCGI instance failed. > > description The server encountered an internal error that prevented it > from fulfilling this request. > > exception > > javax.servlet.ServletException: PHP FastCGI instance failed. > php.java.servlet.fastcgi.FastCGIServlet.execute( > FastCGIServlet.java:448) > php.java.servlet.fastcgi.FastCGIServlet.handle( > FastCGIServlet.java:481) > php.java.servlet.fastcgi.FastCGIServlet.doGet( > FastCGIServlet.java:521) > javax.servlet.http.HttpServlet.service(HttpServlet.java:624) > javax.servlet.http.HttpServlet.service(HttpServlet.java:731) > php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126) > root cause > > php.java.bridge.http.FCGIConnectionException > php.java.bridge.http.FCGIConnectionInputStream.read( > FCGIConnectionInputStream.java:64) > php.java.bridge.http.FCGIInputStream.doRead( > FCGIInputStream.java:65) > php.java.bridge.http.FCGIInputStream.read(FCGIInputStream.java:54) > php.java.servlet.fastcgi.FastCGIServlet.parseBody( > FastCGIServlet.java:362) > php.java.servlet.fastcgi.FastCGIServlet.execute( > FastCGIServlet.java:433) > php.java.servlet.fastcgi.FastCGIServlet.handle( > FastCGIServlet.java:481) > php.java.servlet.fastcgi.FastCGIServlet.doGet( > FastCGIServlet.java:521) > javax.servlet.http.HttpServlet.service(HttpServlet.java:624) > javax.servlet.http.HttpServlet.service(HttpServlet.java:731) > php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126) > root cause > > java.io.IOException: С обоих концов канала отсутствуют процессы > java.io.RandomAccessFile.readBytes(Native Method) > java.io.RandomAccessFile.read(Unknown Source) > php.java.bridge.http.RandomAccessFileInputStream.read( > RandomAccessFileInputStream.java:74) > php.java.bridge.http.FCGIConnectionInputStream.read( > FCGIConnectionInputStream.java:58) > php.java.bridge.http.FCGIInputStream.doRead( > FCGIInputStream.java:65) > php.java.bridge.http.FCGIInputStream.read(FCGIInputStream.java:54) > php.java.servlet.fastcgi.FastCGIServlet.parseBody( > FastCGIServlet.java:362) > php.java.servlet.fastcgi.FastCGIServlet.execute( > FastCGIServlet.java:433) > php.java.servlet.fastcgi.FastCGIServlet.handle( > FastCGIServlet.java:481) > php.java.servlet.fastcgi.FastCGIServlet.doGet( > FastCGIServlet.java:521) > javax.servlet.http.HttpServlet.service(HttpServlet.java:624) > javax.servlet.http.HttpServlet.service(HttpServlet.java:731) > php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126) > note The full stack trace of the root cause is available in the Apache > Tomcat/7.0.73 logs. > > Apache Tomcat/7.0.73 > -------------------- > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > php-java-bridge-users mailing list > php...@li... <javascript:;> > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |