0

I'm trying to run a script on my server, but i keep getting below error. i've tried to install cURL, which seem to be installed when i run curl -V, but i still get the error. What do i need to do in order to get this to work.

Error

PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in /var/www/html/index.php:4\nStack trace:\n#0 {main}\n  thrown in /var/www/html/index.php on line 4

line 4

$curl = curl_init();
Peter Pik
  • 11,023
  • 19
  • 84
  • 142

0 Answers0