Your issue is probably already solved. But for those still searching, please find my answer here.
It might be the the wrong Path being pointed at.
My answer in the Link ( Call to undefined function curl_init() even it is enabled in php7 ) says:
Your Filepath is probably incorrect
Check the Apache error log in
/var/log/apache2/error.log
if the called path or filename does match your real path in e.g.
/usr/lib/php/20151012/php_curl.so
In my case it's been the same path, but "the php_" was missing
/usr/lib/php/20151012/curl.so
So I changed the path / filename accordingly in
/etc/php/7.0/cli/conf.d/20-curl.ini
from
extension=php_curl.so
into
extension=curl.so
phpinfo()
function. – Pinelliphp.ini
exists in multiple places, did you edit the one thatphpinfo()
says its using? – Jacinda