:
: 다른 확장들(.html, .mp, ..)도 php로 인식할려면.. httpd.conf에서
: AddType부분에 추가만 해주면 되지 않나요? 아래처럼..
:
: 그런데 해당 파일을 불러오면 저장할려고 하네요?
: 잘못된 부분이 있다면 어디인지... -_-;
:
: # For example, the PHP 3.x module (not part of the Apache distribution - see
: # http://www.php.net) will typically use:
: #
: AddType application/x-httpd-php3 .php3 .mp
: AddType application/x-httpd-php3-source .phps
: #
: # And for PHP 4.x, use:
: #
: AddType application/x-httpd-php .php
: AddType application/x-httpd-php-source .phps
두군데 모두 주석을 풀지마시고요...
버전에 맞는 부분만 주석을 푸시기 바랍니다.
php4를 쓰시니깐...
# For example, the PHP 3.x module (not part of the Apache distribution - see
: # http://www.php.net) will typically use:
: #
: #AddType application/x-httpd-php3 .php3 .mp
: #AddType application/x-httpd-php3-source .phps
: #
: # And for PHP 4.x, use:
: #
: AddType application/x-httpd-php .php .mp .html .htm .inc..등등
: AddType application/x-httpd-php-source .phps
이렇게 하시고 아파치 재시작 하시며 되실 듯...--산은 지리산~~