Report this

What is the reason for this report?

How to enable curl_multi_exec() ?

Posted on December 1, 2018

Hi,

I am using social warfare plugin with Ubuntu 16.04.4 x64 & while using it it always shows

Warning: curl_multi_exec() has been disabled for security reasons in /home/setupserver/applications/XYZ/public/wp-content/plugins/social-warfare/lib/utilities/SWP_CURL.php on line 71

I have already install PHP CURL via Console with below code but it still shows same error.

Please guide me how can I enable it ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

You could try enabling the curl_exec function. You could do that via your php.ini file.

To find your php.ini file either run: php -i | grep php.ini or create an info php file.

Then edit the php.ini file with your favourite text editor and look for disable_functions. You would need to remove the curl_exec from the list:

disable_functions = (Remove curl_exec from here)

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.