1. Apache 환경설정 파일을 수정합니다.
~# vi /etc/apache2/httpd.conf
2. 문서하단에 AddType application/x-httpd-php .php .html .htm .php3 .inc .phtml 을 추가합니다.
AddType application/x-httpd-php .php .html .htm .php3 .inc .phtml
3. Apache 데몬을 재시작 합니다.
~# service apache restart