I am running a script and I have this Fatal error: Call to undefined function curl_init() in /var/www/html/wp-content/plugins/accesspress-social-login-lite/twitter/twitteroauth.php on line 189
it appears curl is not enabled in my install, how may I go about 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.
Depending on your distribution, install curl with one of the following:
On CentOS or other yum based package systems
yum install php-curl
yum install curl
On Debian or other apt-get based package systems
apt-get install curl
apt-get install libcurl
apt-get install php-curl
I haven’t used php7 as of yet. However, as newbie states above, you might try installing curl using apt-get install php7-curl or yum install php7-curl.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.