RPM PHP 설치 후 설정파일에 추가 내용
YUM으로 PHP를 설치했는데 잘 돌다가 최근 업데이트 한 이후에....
갑자기 안 돌아가는 것 같아서... 확인해 보니
/etc/httpd/conf.d/php.conf 에 다음과 같은 문장이 필요했다.
AddType application/x-httpd-php .php .html .htm .inc
'Web Tech > PHP,Perl,Python' 카테고리의 다른 글
IronPython (0) | 2008.03.12 |
---|---|
PHP에서 쌈박하게 도는... WEB 하드 솔루션? (2) | 2007.12.12 |
[하늘높이의 쓸데없는 쉘 프로그램 3] EUC-KR -> UTF-8 (2) | 2007.04.28 |
[하늘높이의 쓸데없는 쉘 프로그램 2] 아침마다 EBS 영어방송 녹음하자 (0) | 2007.04.28 |
[하늘높이의 쓸데없는 쉘 프로그램 1] 아침마다 EBS 영어방송 듣기 -.- (0) | 2007.04.28 |
grep 를 이용해 텍스트 내용 검색
리눅스 시스템에서 하위 폴더를 쭉 긁어가며 소스의 원하는 내용을 찾고 싶을 때....
$ grep -rniI <Keyword>
[kunmin@linux]$ grep –help
사용법: grep [옵션]... 패턴 [파일] ...
Search for PATTERN in each FILE or standard input.
Example: grep -i 'hello world' menu.h main.cRegexp selection and interpretation:
-i, --ignore-case ignore case distinctions
Output control:
-n, --line-number print line number with output lines
--line-buffered flush output on every line
-R, -r, --recursive equivalent to --directories=recurse
--include=PATTERN files that match PATTERN will be examined
--exclude=PATTERN files that match PATTERN will be skipped.
--exclude-from=FILE files that match PATTERN in FILE will be skipped.
-l, --files-with-matches only print FILE names containing matches
`egrep' means `grep -E'. `fgrep' means `grep -F'.
With no FILE, or when FILE is -, read standard input. If less than
two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,
and 2 if trouble.Report bugs to bug-gnu-utils@gnu.org.
* 단 CPU 부하는 크니 주의할 것
'OS, DB > Linux,Unix' 카테고리의 다른 글
Charset 이 설정 가능한 FTP - pureFTP (0) | 2009.11.24 |
---|---|
mencoder 와 FFMpeg 인코딩 옵션 (2) | 2009.11.04 |
Fedora 10용 Freshrpm 추가하기 (0) | 2008.12.19 |
Fedora 10으로 업그레이드 (0) | 2008.12.17 |
VMWare Linux에서 설치가 안될때... (0) | 2008.02.20 |