Why does my http_build_url () function Report an error?
Source: Internet
Author: User
Why does my http_build_url () function Report an error ;? Phpechohttp_build_url (& quot; http: // user@www.example.com/pub/index. php? A = B # files & quot;, & nbsp; array (& nbsp; & q Why does my http_build_url () function Report an error?
Echo http_build_url ("http: // user@www.example.com/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
);
?>
In the manual, no configuration is required and can be used directly. Why does my error cause Fatal error: Call to undefined function http_build_url () in E: \ wamp \ www \ sometimeExa \ buw._url.php on line 2
Windows http://downloads.php.net/pierre/
------ Solution --------------------
The http_build_url function is affiliated with the pecl_http extension.
The extension of the PECL series does not belong to the php Standard configuration series and cannot be maintained by the php development organization.
If you do not have special requirements, do not use the PECL extension. If it is used, you need to pay close attention to the developer's website to promptly 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service