PHP가 동작하는 기본적인 작동방법을 변경하는 것으로, php.ini 파일를 통해서 변경 사항을 반영할 수 있음
설정을 변경 한 후에는 웹서버를 리로드(reload) 혹은 재시작(restart) 해야함
🥸 운영 (production)
display_errors = Off
display_startup_errors = Off
error_reporting = E_ALL
log_errors = On
✍️ 개발 (development)
display_errors = On
display_startup_errors = On
error_reporting = -1
log_errors = On
php는 html 태그처럼 열고 닫기가 필요하다
<?php
~
?>
출력 명령어
echo "hello world";