Topic on Extension talk:VisualEditor

curl_multi_init() has been disabled for security reasons

3
Lostact (talkcontribs)

Our hosting provider has disabled this function. We them asked to enable it but they refused. Creating new pages is fine but when i try to edit pages i get:

internal_api_error_Exception: Exception caught: PHP cURL function curl_multi_init missing.


Is there any workaround for this problem?

Jdforrester (WMF) (talkcontribs)

Since REL1_32 (for T139169), there's been a fallback to a non-parallel system that doesn't use curl if it's unavailable, but that was written assuming curl was intact. :-)

I've written this patch to also sniff for curl_multi_init and fallback; if that's merged, it'll ship with MediaWiki 1.35 unless we back-port it. Sorry that that's not an immediate fix.

Lostact (talkcontribs)

I applied this fix and my problem is solved. Thank you!