혹시 설치하신 Apache와 PHP버전이 어떻게 되나요?
최신버전인 Apache 1.3.12와 PHP4.0 을 설치했나요?
아님...다른 버전을 설치했나요?
만일 PHP4.0를 설치했다면요!
httpd.conf의 다음부분을 확인해 보세요.
-----------------------------------------------------
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.php
</IfModule>
-----------------------------------------------------
부분과
-----------------------------------------------------
#
# AddType allows you to tweak mime.types without actually
# make certain files to be certain types.
#
# For example, the PHP 3.x module (not part of the Apac...
# http://www.php.net) will typically use:
#
AddType application/x-httpd-php3 .php3 .php .phtml
AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
-----------------------------------------------------
이렇게 환경설정을 해보시는게.....
>
> 제가요. Mysql하고 Php하고 Apache를 깔았는데요.
> 다 잘되는데.. 아글쎄..
> http://www.xxx.co.kr 하고 들어가면..
> index.html파일을 브라우저에서 읽지 못하고 저장하라는 메세지가 뜨구요
> index.php3라고이름을 바꾸면 브라우저에서 제대로 html언어를 번역하는것
> 입니다. ~ index.html 파일이 틀림없이 존재하는데 말이에요..
>
> * 참고
> DocumentRoot : /usr/local/apache/htdocs
> httpd.conf : /usr/local/apahce/conf (여기다 DirectoryIndex index.html..
> 추가했는데두...)
>
> 고수님의 조언 부탁드림니다.
|