Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

by 운영자 posted Jul 24, 2011
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

 

이런 에러 나올때

 

php.ini 파일을 연다

 

파일을 못찾을 경우

 

centos 에서 명령어

find / -name php.ini 으로 찾는다

 

vi /usr/local/apache/conf/php.ini 를 한다.

 

session.auto_start = 1 로 변경 세션이 스타트가 안되는 경우가 많아서 이렇게 초기 세팅이 되어야 함

session.save_path = "/tmp" 세션 디렉토리를 /tmp 로 설정

register_globals = On  php에서 변수를 전달할때 바로 전달이 되도록 한다.