How can i enable selinux in centos 7 base image and host os is also centos 7.5

i want to use “setsebool -P httpd_can_network_connect 1” command to connect apache server to backend grafana server.but i am not able to use this as selinux is shown as disabled i tried changing it with enforcing and permissive but still it shows as disabled.please help…