So looking at this again. I was able to modify my multi-curl code in a minor way to get things to work.
The php documentation on multi-curl is somewhat opaque, so I am still not sure what exactly
is going on. Here is a block that caused no headaches in Xampp 1.7.7:
- Code: Select all
do {
$mrc = curl_multi_exec($agent_handler, $running);
$ready=curl_multi_select($agent_handler, 0.015);
} while (time() - $start < PAGE_TIMEOUT && $running > 0 && $ready!=-1);
changing this to
- Code: Select all
do {
$mrc = curl_multi_exec($agent_handler, $running);
$ready=curl_multi_select($agent_handler, 0.015);
} while (time() - $start < PAGE_TIMEOUT && $running > 0 );
got it to work in Xampp 1.8. Removing the curl_multi_select() line through breaks
things. So maybe the issue is somehow curl_multi_select has changed in PHP 5.4?