반응형
* /var/run/php5-fpm.sock (13 permition denined) 오류 발생 시
1. php-fpm 설정
- /etc/php-fpm.d
- vi www.conf
-> listen.owner = nginx
-> listen.group = nginx
-> listen.mode = 0660(그래도 퍼미션 나면 0666)
2. 기동
service php-fpm restart
service nginx restart
3. service에 등록이 안된 경우
chkconfig php-fpm on
chkconfig nginx on
반응형
'Linux' 카테고리의 다른 글
OpenSSL 업그레이드하기 (0) | 2022.03.21 |
---|---|
yum list 갱신 및 nginx 설치(rhel6) (0) | 2022.03.21 |
Nginx + php 연동 (0) | 2022.03.21 |
centos7 nginx 설치 (0) | 2022.03.21 |
Nginx permission denied error (0) | 2022.03.21 |