문제

I am using a framework which uses Smarty template engine. It works fine in Windows, but when I tried to run it in LAMP server, I got a message like SELinux has detected suspicious behaviour on your system. The whole error message i have attached. Please guide me what to do. Thanksimage

도움이 되었습니까?

해결책

You can allow it by using setsebool -P httpd_unified=1

Normal SELinux settings for http to work with PHP more or less properly are:

setsebool -P httpd_enable_cgi on
setsebool -P httpd_unified on
setsebool -P httpd_builtin_scripting on

Otherwise you can use

getsebool -a | grep httpd

To get a list of httpd-related EeLinux options and tweak to your personal taste.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top