Call to undefined function curl_init() even it is enabled in php7

前端 未结 10 753
旧巷少年郎
旧巷少年郎 2020-12-03 01:00

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() er

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 01:32

    Your pages probably are not generated with the CLI SAPI. Check what phpinfo() returns when run from your webserver (its probably trying to read the wrong ini file).

提交回复
热议问题