Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- centos 8
- Kibana server is not ready yet
- docker
- bash
- PlayBook
- xe guest utilities
- XCP-ng
- pfsense
- Proxy
- ansible
- 보안양파
- Kibana
- elastic stack
- proxycfg
- x-pack
- application security
- Elasticsearch
- endpoint security
- hardening
- ssh key 배포
- G-suite
- macos
- miniconda
- ELASTIC
- 한글가이드
- GitLab
- freebsd
- Windows
- 로그인불가
Archives
- Today
- Total
선 밖에 선 자유인
lighttpd php 설정 본문
- lighttpd 1.4.35 기준
yum install lighttpd lighttpd-fastcgi
modules.conf 에서 mod_fastcgi 부분 주석 해제
server.modules = (
"mod_access",
# "mod_alias",
# "mod_auth",
# "mod_evasive",
"mod_fastcgi",
"mod_redirect",
# "mod_rewrite",
# "mod_setenv",
# "mod_usertrack",
)
/etc/lighttpd/conf.d/fastcgi.conf 에 추가
fastcgi.server = ( ".php" =>
( "localhost" =>
("socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi" ) <- php-cgi 의 경로를 확인해서 지정
) )
/etc/php.ini 아래에 다음의 내용 추가
cgi.fix_pathinfo = 1
Comments