开发者

How to solve the Fatal error on SEO

Currently am working with my website to optimize it for search engines.

I'm getting the开发者_如何学编程 following error:

[home] [stats] [search website] [index website] [create tables] [configure] 

--------------------------------------------------------------------------------
No pages indexed.

Index website

Fatal error: Call to undefined function curl_init() in E:\wamp\www\SEO\distribution\api\api.php on line 20

I don't know how to resolve the problem. Do I need to install the curl lib function, or something else? How can I resolve this error?


Install and enable curl http://www.php.net/manual/en/curl.installation.php


url_init() function is a part of cURL extension which is not available by default in PHP.

You have to install that extension. If you're not a server administrator then you probably can't do anything but ask him/her to do that.

However there is a workaround. cURL is just a abstract layer over HTTP protocol. If you know how HTTP protocol works you can write your own cURL using fsockopen() function.


Is curl is installed on your server? Use php_info() function or check directly with your host provider.


Its telling you that curl_init() is undefined so it'll need figured out why. You'd probably want a PHP coder to look at this for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜