Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29103 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29969 invoked by uid 1010); 29 Apr 2007 21:33:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29940 invoked from network); 29 Apr 2007 21:33:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Apr 2007 21:33:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=dirk@haun-online.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dirk@haun-online.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain haun-online.de designates 80.67.18.14 as permitted sender) X-PHP-List-Original-Sender: dirk@haun-online.de X-Host-Fingerprint: 80.67.18.14 smtprelay02.ispgateway.de Linux 2.4/2.6 Received: from [80.67.18.14] ([80.67.18.14:43286] helo=smtprelay02.ispgateway.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/42-40858-3EE05364 for ; Sun, 29 Apr 2007 17:32:20 -0400 Received: (qmail 12309 invoked from network); 29 Apr 2007 21:32:16 -0000 Received: from unknown (HELO [192.168.0.150]) (050981@[84.161.65.49]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 29 Apr 2007 21:32:16 -0000 To: Date: Sun, 29 Apr 2007 23:29:58 +0200 Message-ID: <20070429212958.2081131460@smtp.haun-online.de> X-Mailer: CTM PowerMail version 5.5.3 build 4480 German (PPC) Organization: Terra Software Systems MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: RAW_POST_DATA in PHP 5.2.2RC2 From: dirk@haun-online.de ("Dirk Haun") I just spent about an hour debugging some XML-RPC communication only to find that the problem was not in my code but in PHP 5.2.2RC2 apparently. I'm using PEAR::XML_RPC (current version) which seems to rely on $HTTP_RAW_POST_DATA. And even though I had always_populate_raw_post_data = Off in my php.ini, that always worked fine with PHP 5.2.1. With 5.2.2RC2, though, it doesn't seem to get the raw POST data any more: ---GOT--- HTTP/1.1 200 OK Date: Sun, 29 Apr 2007 20:33:45 GMT Server: Apache/1.3.37 (Unix) PHP/5.2.2RC2 X-Powered-By: PHP/5.2.2RC2 Content-Length: 486 Connection: close Content-Type: text/xml; charset=UTF-8