[英]Call to undefined function curl_init() in wampp
I am getting an error. 我收到一个错误。 I have done the following:
我已经完成以下工作:
But I still get error 但是我仍然会出错
Fatal error: Call to undefined function curl_init() in C:\wamp\www\wordpress\wp-content\plugins\test\curl_http_client.php on line 66
Call to undefined function curl_init
调用未定义的函数curl_init
You either edit wrong php.ini
file or something is missing on your system, preventing curl extension from loading. 您或者编辑了错误的
php.ini
文件,或者系统上缺少某些内容,从而阻止了curl扩展加载。 You shall check with phpinfo()
where is proper php.ini
, then check if you got extension
entry for cURL really enabled. 您应使用
phpinfo()
检查php.ini
是否正确,然后检查是否确实启用了cURL的extension
。 If so and it is still not working then next step should be checking Apache's error.log
looking for detailed error messages from PHP. 如果是这样并且仍然无法正常工作,那么下一步应该是检查Apache的
error.log
查找来自PHP的详细错误消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.