I am trying to use Sentry in a PHP project. When I create an test error for Sentry to log I get this error message on screen Fatal error: Call to undefined function curl_init() in /vagrant/www/vendor/sentry/sentry/lib/Raven/Client.php on line 868
and the error is not logged.
This is only happening in my vagrant installation of the project. When I set up the same test in Xampp the fatal error isn’t triggered and my test error is logged by sentry.
Opening Raven/Client.php I can see that the line triggering the error is:
$curl = curl_init($url);
Using phpinfo(); I can see ‘cURL’ listed as one of the modules. Can anyone shed some light on what is going on here?