(edit config by vim)
AddType application/x-httpd-php .html
AddType application/x-httpd-php .html .htm
(enter on console)
service apache2 reload
(test on php server)
<?php phpinfo(); ?>
'생존기술_IT > OS | SERVER' 카테고리의 다른 글
[Linux/Vim] Vim 사용법 - 복붙 (0) | 2020.06.22 |
---|---|
[php] 소스 안에 <?php 없애기.. (0) | 2020.06.22 |
[apache] 아파치 확장자없이도 접속 가능하게.. (0) | 2020.06.22 |
[Linux/CentOS] 리눅스 디렉토리 구조 / 리눅스 종류.. (0) | 2020.06.22 |
[Linux/CentOS6/IPTABLES] CentOS 6.x - IPTABLES - 방화벽설정 - 처음부터 다 밀고 다시 셋팅하기.. (0) | 2020.06.22 |