Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我要做的是创建一个时间跟踪器跟踪时间并通过 curl 将其保存到服务器
应用程序的其余部分工作正常,但是当我调用 curl 提交时间时,它显示错误“调用未定义函数 curl_init()”
听起来好像CURL没有启用。您可以使用phpinfo()文件进行检查。
CURL
phpinfo()
您需要做的是编辑php.ini文件并取消注释;extension=php_curl.dll(删除;)。然后重新启动您的网络服务器。
php.ini
;extension=php_curl.dll
;