Why does my Http_build_url () function get an error?

Source: Internet
Author: User
Why does my Http_build_url () function get an error?
Echo Http_build_url ("Http:[email protected]/pub/index.php?a=b#files",
Array
"Scheme" = "ftp",
"Host" = "ftp.example.com",
"Path" = "files/current/",
"Query" = "A=c"
),
Http_url_strip_auth | Http_url_join_path | Http_url_join_query | Http_url_strip_fragment
);
?>
The manual is written without any configuration, direct use can, why my error fatal error:call to undefined function http_build_url () in E:\wamp\www\sometimeExa\bulid_ Url.php on line 2

------Solution--------------------
(PECL pecl_http >= 0.21.0)
------Solution--------------------
Http_build_url
(PECL pecl_http:0.21.0-1.5.5)

------Solution--------------------
http://pecl.php.net/*nix

Http://downloads.php.net/pierre/windows
------Solution--------------------
Http_build_url function is subordinate to pecl_http extension
PECL series extensions, not part of PHP's standard configuration family, are not maintained by the PHP development Organization
If there is no special need, do not use PECL extension as much as possible. If used, follow the developer's website closely to update and eliminate bugs
  • 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.