Thanks for your question and your report. As of now this isn’t user-configurable but I’d like to fix that for the future.
For now, though, you should be able to manually make the following changes to trick TubePress into using something other than curl_multi_exec().
OPTION 1
Try this first as it requires the fewest code changes. Edit wp-content/plugins/tubepress/vendor/puzzlehttp/puzzle/src/main/php/puzzle/Client.php
and add a single line at line 75. The full constructor should look like this:
public function __construct(array $config = array())
{
$this->configureBaseUrl($config);
$this->configureDefaults($config);
$this->configureAdapter($config);
if (isset($config['emitter'])) {
$this->emitter = $config['emitter'];
}
$this->adapter = new puzzle_adapter_StreamAdapter($this->messageFactory);
}
OPTION 2
Option 1 might not work, depending on your server’s configuration. Instead of puzzle_adapter_StreamAdapter
, try puzzle_adapter_curl_CurlAdapter
instead. Same file and location as Option 1:
public function __construct(array $config = array())
{
$this->configureBaseUrl($config);
$this->configureDefaults($config);
$this->configureAdapter($config);
if (isset($config['emitter'])) {
$this->emitter = $config['emitter'];
}
$this->adapter = new puzzle_adapter_curl_CurlAdapter($this->messageFactory);
}
Unless you are running PHP 5.5, you’ll also need to comment out line 137 of wp-content/plugins/tubepress/vendor/puzzlehttp/puzzle/src/main/php/puzzle/adapter/curl/CurlAdapter.php
:
//curl_reset($handle);
Apologies for the hackiness, but this should get you up and running until I can write a more elegant solution. Please give the above a try and let us know how it works for you. Thanks!