cURL stop working many Wordpress things

August 30, 2016 176 views
WordPress PHP Ubuntu

I was working Wordpress perfectly but a Twitter plugin said me cURL is missing.

I installed cURL in server, but after this many Wordpress things stop to work. It's like jQuery stop to work in wp-admin pages.

Help me?

1 Answer

It sounds like the plugin you installed is likely the cause of the issues you're running into. I would recommend disabling the plugin if you can (if not, you can delete the plugin's directory completely). A clue that this is not directly related to cURL is that you mentioned jQuery errors. In general javascript errors would indicate an error in the front-end code being run by the browser and not the backend code run on your server. PHP's curl function would only be called on the server side so my best guess is that the plugin you installed had added code to your site that has broken other things.

For reference and for anyone else who encounters a similar error, curl for PHP can be installed

On Ubuntu 16.04 with:

apt-get update
apt-get install php7.0-curl

On Ubunu 14.04 with:

apt-get update
apt-get install php5-curl
  • Thank u very much! Works perfectly, Ryan.

    I removed all twitter plugins and all come back. I don't know why doesnt work, but solved!

Have another answer? Share your knowledge.