Owncloud 9.1 using curl

help

#1

We just fresh installed owncloud 9.1. We can login, upload, download files as normal.

We found there is a owncloud.log and it is full of "curl_multi_exec() has been disabled for security reasons" message. It is because our web hosting does not allow curl.

May I know is there any impact if we use owncloud without curl?

Thank you.


#2

Hi,

just grepped through the code and found a few parts of oC 9.0.4 where this is used:

./apps/files_external/3rdparty/aws-sdk-php/Guzzle/Http/Curl/CurlMulti.php:            while (($mrc = curl_multi_exec($this->multiHandle, $active)) == CURLM_CALL_MULTI_PERFORM);
./3rdparty/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php:                $mrc = curl_multi_exec($this->_mh, $this->active);
./3rdparty/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php:                    $mrc = curl_multi_exec($this->_mh, $this->active);
./3rdparty/guzzle/http/Guzzle/Http/Curl/CurlMulti.php:            while (($mrc = curl_multi_exec($this->multiHandle, $active)) == CURLM_CALL_MULTI_PERFORM);
./3rdparty/sabre/http/lib/Client.php:            $r = curl_multi_exec(
./updater/vendor/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php:                $mrc = curl_multi_exec($this->_mh, $this->active);
./updater/vendor/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php:                    $mrc = curl_multi_exec($this->_mh, $this->active);

I think its not really possible to say if the disabled curl_multi_exec() has any impact so instead please contact the support of your hoster and ask him to allow this function.


#3

You could search the code for it: https://github.com/owncloud/core/search?utf8=%E2%9C%93&q=curl_multi_exec&type=Code

curl() is disabled as well?


#4

Thanks for your reply.
Yes, curl() is also disabled.


#5

Without Curl your Installation will not be capable to perform any Kind of communication to the outside world like install apps from the appstore, check for Server updates, using the updater will not be possible, most exteralnal storage Integration like Amazon s3 will not work.

To be honest: choose a different Hoster - it will not be fun