首页 > 代码库 > php socket connect permission denied

php socket connect permission denied

Linux在php socket连接时报错:permission denied

解决办法:

# setsebool httpd_can_network_connect=1

 

参考来源:

http://www.cppblog.com/colorful/archive/2013/07/29/202222.html

http://hi.baidu.com/zwfec/item/64ef5ed9bf1cb3feca0c397c