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
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
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.