How to solve the exception of sending a request to capture a datagram
Source: Internet
Author: User
How to solve the error of sending a request to capture a datagram? [function. file-get-contents]: failedtoopenstream: HTTPrequestfailed! HTTP/1.1505 HTTPVersionNotSuppo how to solve an error that sends a request to capture a datagram
[Function. file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 505 HTTP Version Not Supported in C: \ xampp-win32-1.7.2 \ xampp \ htdocs \ ceshi \ post. php on line 58
------ Solution --------------------
Discussion
Reference:
Reference:
Reference:
Set allow_url_fopen = On in php. ini
This file was not found, and no search was found.
... This is a Magic File. we usually call it a configuration file.
PHP code
Phpinfo ();
Find Loaded Configuration File. this is php. ini ......
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