미채택 완료
우성짱님의 도커로 멀티도메인구성후 로그인 안되는현상~
에러메세지가.
2021/06/22 16:26:43 [error] 23#23: *1 FastCGI sent in stderr: "PHP message: PHP Warning: chmod(): Operation not permitted in /var/www/html/gnuboard/lib/Cache/FileCache.class.php on line 156" while reading response header from upstream, client: 172.27.0.1, server: g5.localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://172.27.0.8:9000", host: "g5.localhost"
와같이 나고 로그인이 안되네요~~
해당소스는 lib/Cache/FileCache.class.php의
Copy
if ($this->write_file($cache_file_path, $cache_content))
{
chmod($cache_file_path, G5_FILE_PERMISSION);
return TRUE;
}
nginx의 그누보드설정파일은
Copy
server {
listen 80;
listen [::]:80;
server_name g5.localhost;
root /var/www/html/gnuboard;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ [^/]\.php(/|$) {
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
|
답변 2개 / 댓글 2개
답변을 작성하려면 로그인이 필요합니다.