From: <php...@li...> - 2013-11-13 11:27:29
|
Hoping to get some help on why php-cgi started giving me these issues after patching by system for security vulnerabilities in php-cgi. I've been using it for 2+ years to grab an image from uploaded video clips via the ffmpeg_movie php api. It stopped working after I was forced to patch php-cgi because of a compromised server due to CVE-2012-2311 Here is the stack trace in my server logs: php.java.bridge.http.FCGIConnectionException at php.java.bridge.http.FCGIConnectionInputStream.read(FCGIConnectionInputStrea m.java:64) at php.java.bridge.http.FCGIInputStream.doRead(FCGIInputStream.java:65) at php.java.bridge.http.FCGIInputStream.read(FCGIInputStream.java:54) at php.java.bridge.http.HeaderParser.parseBody(HeaderParser.java:76) at php.java.script.servlet.HttpFastCGIProxy.doRun(HttpFastCGIProxy.java:75) at php.java.script.Continuation.run(Continuation.java:100) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at php.java.bridge.http.FCGIConnectionInputStream.read(FCGIConnectionInputStrea m.java:58) ... 6 more Not sure if I have the stomach to open up and fix the source code for this. I was using it for the sole purpose of using the ffmpeg_movie php api, but since now there are better alternatives to this (Xuggler) - I am ready to abandon having my code be comprised of 2 different languages, running on 2 different web platforms. Here are my software version details: $ php-cgi -v PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cgi-fcgi) (built: Sep 4 2013 20:01:33) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise I hope there's an easy fix for this. Thanks for any help in advance. Ted |