Last active
October 28, 2015 06:24
-
-
Save f-akazawa/8c50288be3c8162ef16b to your computer and use it in GitHub Desktop.
nginxとphp-fpmでphpがAccess deniedで表示されない ref: http://qiita.com/f-akazawa/items/2b92bdad4744566e01d9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yyyy/mm/dd hh:mm:ss [error] xxxxx#xxxxx: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 | |
Unable to open primary script: /usr/share/nginx/html/mysite/index.html (Permission denied)" while reading response header from upstream, client: 192.168.xx.xxx, server: localhost, request: "GET /mysite/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "myserver.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/selinux/config | |
SELINUX=disabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment