I've just installed php7 to my Ubuntu.
At first, there was no problem, my web site was working.
But suddenly, it started to return Call to undefined function curl_init() error.
Now, my pages contain curl codes do not work.
In phpinfo(), it looks Curl is enabled.
There were similar questions but none of them handled it in php7.
I thought it should be something different than others.
Edit:
When I try
php -i | grep curl
in terminal, it returns
/etc/php/7.0/cli/conf.d/20-curl.ini,
curl
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…