当前位置: 代码迷 >> PHP >> CentOS下在php中使用socket连接异常Permission denied
  详细解决方案

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

热度:14   发布时间:2016-04-28 18:23:07.0
CentOS下在php中使用socket连接错误Permission denied

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