1.
$sudo nano /etc/apache2/mods-enabled/mime.conf
2.
ctrl + w 로 addType 찾기
addtype찾은 후 그 밑에다가 복붙하기
AddType application/x-httpd-php .php .phtml .html .htm
3.저장 ctrl + o 엔터
4.재실행
sudo service apache2 start
'내맘대로 > 오류모음' 카테고리의 다른 글
[맥os] iTerm, 터미널에서 code. 안 될 때 (2) | 2024.10.13 |
---|---|
Access denied for user 'root'@'localhost' mysql root 접속 안될 때 (0) | 2019.12.10 |
[aws ubuntu18.04LTS] mysql 재실행 문제 (0) | 2019.11.29 |
aws mysql Can't start MySQL server (database corruption) (0) | 2019.11.28 |
failed to connect to mysql: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) | 2019.11.27 |