2

Does this mean that selinux is currently enabled on my system?

In /etc/sysconfig/selinux, I set:

  SELINUX=disabled

AND then rebooted the server, but still in phpinfo() the same thing is showing up!

How do I disable it permanently?

(Nothing against selinux, but I have scripts that need to execute other programs - and it appears that selinux is interfering with them... What permissions are needed to run a system() command within a php script that writes to a folder?)

Edit 1:

If it helps, I also did the same in: /etc/selinux/config

siliconpi
  • 1,707
  • 6
  • 30
  • 45

1 Answers1

0

That entry is an environment variable set by the system, and has nothing to do with whether or not SELinux is enabled. The way to check if SELinux is enabled is to run sestatus.

Ignacio Vazquez-Abrams
  • 45,019
  • 5
  • 78
  • 84