갑자기 httpd 시작이 안되네요.. 도와주세요..
CentOS 6.2를 사용중입니다.
웹 서버가 정상적으로 잘 작동하고 있었습니다.
그런데 php-cli를 지우고 다시 설치한다음, service httpd start 하니까 다음 에러 메시지가 뜹니다. 무엇이 잘못된 걸까요?
httpd: Syntax error on line 790 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf.d/php.conf: No such file or directory
[실패]
그래서 /etc/httpd/conf.d/ 디렉토리를 들어가보니 php.conf.rpmsave 라는 파일이 있고 php.conf라는 파일은 없네요.
그래서 php.conf.rpmsave 파일을 php.conf로 바꿔 보았더니..
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
[실패]
이렇게 뜨네요..
어떻게 해야 할까요 ..
완료되었습니다.
php 모두 지우고 재설치하니 됩니다.
댓글 달기