忘记关于什么事情了 selinux
TECH

忘记关于什么事情了 selinux

SELinux设置为开启状态(enabled)的原因 查看当前selinux的状态 1. /usr/sbin/sestatus 2 将SELINUX=enforcing 修改为 SELINUX=disabled 状态 1. vi /etc/selinux/config 2. #SELINUX=enforcing 3. SELINUX=disabled 4. 重启生效 reboot location ~ [^/]\.php(/|$) { #fastcgi_pass remote_php_ip:9000; fastcgi_pass unix:/dev/shm/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } php_flag[display_errors] = on vim /etc/php-fpm.d/www.conf