linux下命令行可以连接远程数据库而php的msyql_connect()却不可以的解决方案 收藏
2010年07月07日


遇上了这个该死的问题,linux安全原因:


解决:
进入

/etc/seLinux

more config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
改为 :SELINUX=disabled

 

本文永久链接: http://www.zzxj.net/blog/fxs_2008/archive/2010/07/07/189.html

发表于 @ 2010年07月07日 |评论(loading... )|收藏

发表评论 姓  名: