[Ubuntu], How to solve

Source: Internet
Author: User
[Ubuntu]
$ch =cur_init ();
Execution error, prompting
PHP Fatal error:call to undefined function cur_init ();
But the php5 php5-curl php-cli Curl is installed

#curl-V
Curl 7.22.0 (X86_64-PC-LINUX-GNU) libcurl/7.22.0 openssl/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Protocols:dict file ftp FTPs Gopher HTTP HTTPS IMAP imaps LDAP POP3 pop3s rtmp rtsp smtp Smtps telnet tftp
Features:gss-negotiate IDN IPv6 largefile NTLM ntlm_wb SSL libz TLS-SRP
#php-V
PHP 5.3.10-1ubuntu3.13 with Suhosin-patch (CLI) (Built:jul 7 2014 18:54:55)
Copyright (c) 1997-2012 the PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

But to see if the extension was loaded, the hint did not load:
Exception:extension Curl does not exist

How can i solve this problem?
------Solution--------------------
Did you write Curl_init a cur_init?
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.