Thanks to Donal for the heads up. He first found this on Ubuntu Feisty but it turns out to be a nasty PHP 5.2.2 bug that fails to populate $HTTP_RAW_POST DATA -- and therefore breaks anything that depends on it, including at least
- Moodle Network
- XML-RPC libraries
- SOAP libraries
- Any other code that reads the raw POST data (REST/JSON libs written in PHP?)
There's a workaround for it and Donal's looking at getting it into Moodle.
The PHP bug is reported here
http://bugs.php.net/bug.php?id=41293
And it seems that they fixed in coming 5.2.3 -- but in the meantime, 5.2.2 is quite widespread...
PHP5.2.2 Breaks MoodleNetwork, XML-RPC, SOAP and a few other bits
by Martín Langhoff -
Number of replies: 2
In reply to Martín Langhoff
Re: PHP5.2.2 Breaks MoodleNetwork, XML-RPC, SOAP and a few other bits
by Anthony Borrow -
Martin - Do you know if this only affects 5.2.2 or does it also affect previous versions. I'm getting the RPC payload error trying to Moodle Network two Moodle 1.8.2+ servers. One runs PHP 5.1.2 and the other 5.1.6. Does this mean that both servers will need to run 5.2.3 in order to take advantage of these awesome Moodle Network features? Peace - Anthony
In reply to Anthony Borrow
Re: PHP5.2.2 Breaks MoodleNetwork, XML-RPC, SOAP and a few other bits
by Heather P -
Are the php issues only on Ubuntu or will they affect windows servers too? We are currently on php 5.2.0 and I'm wondering if that is where some of my problems are coming from.
Thanks
Thanks