输入banner图图片脚本导航/分类

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

$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

权限不够
http://blog.csdn.net/pennyliang/article/details/7342042


谢谢回答,已经按照里面的方法解决,确实是权限不够