PHP cannot connect to mysql server

dragoran dragoran at feuerpokemon.de
Wed Nov 10 15:40:32 UTC 2004


I am running FC3 with selinux on targeted policy. When PHP tryies to 
connect to the mysql server i get this messages in dmesg:
sbin/httpd name=mysql.sock dev=hda3 ino=309535 
scontext=user_u:system_r:httpd_t tcontext=user_u:object_r:var_lib_t 
tclass=sock_file
Disabling SELinux for Apache fix this, but I want to run httpd with selinux.
So how can i fix this?




More information about the fedora-selinux-list mailing list