Home > Backend Development > PHP Tutorial > CentOS下在php中使用socket连接异常Permission denied

CentOS下在php中使用socket连接异常Permission denied

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:08:33
Original
997 people have browsed it

CentOS下在php中使用socket连接错误Permission denied

<br />$fp=fsockopen(mx2qq.com,25,$errno,$errstr,300);]<br />
Copy after login
这段语句在windows地下运行没问题,在CentOS地下返回错误信息Error number:13,Error message:Permission denied,求解决方法 
------解决思路----------------------
SElinux先关掉再试试
------解决思路----------------------
权限不够
http://blog.csdn.net/pennyliang/article/details/7342042

Related labels:
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