웹상에서 php 파일을 실행하면 이런 경고가,,

carrot의 이미지

Quote:
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

웹에서 .php를 실행하기만 하면 저런 경고가 계속 나오네요.

경고를 없애려면, 어떻게 셋팅해야 하나요..?

그리고 저런 경고는 왜 나오지요..?

dsh의 이미지

메세지에 적힌 대로
php.ini 파일에
session.bug_compat_warn = off
라인을 추가하시면 됩니다.

carrot의 이미지

:D