Detailed explanation of opening the PHP fsockopen function module_PHP tutorial

WBOY
Release: 2016-07-13 17:41:01
Original
1105 people have browsed it

When the fsockopen function is not enabled on the server, using fsockopen will prompt undefine fsockopen. The solution is as follows:
Step 1: In php.ini (it doesn’t need to be said where the location is, I think it should be correct when using this function. I have some understanding of these, if you don’t know it, search it on Baidu)
allow_url_fopen = On Set its value to On

Step 2: Find
extension=php_openssl.dll in the php.ini file If there is Semicolon, remove the semicolon

Step 3: Restart the web server, apache or IIS

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486178.htmlTechArticleWhen the fsockopen function is not enabled on the server, using fsockopen will prompt undefine fsockopen. The solution is as follows: Step 1: In php.ini (it doesn’t matter where it is located, it must be used here...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!