잘못된 명령 ‘SSLEngine’Centos line 94 of

Apache를 제거했다가 다시 설치했는데 시작하려고하면 다음 오류가 발생합니다.

Syntax error on line 94 of /usr/local/psa/admin/conf/generated/13636697550.95452800_server.include:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

SSL 또는 다른 것을 활성화하려고 시도하지 않았습니다. 나는 리눅스와 아파치 (Apache)에 익숙하지 않다. 그래서 누군가 나를 도와 줄 수 있다면 무한히 감사 할 것이다.



답변

/etc/httpd/conf또는에 잊어 버린 구성이있을 수 있습니다 /etc/httpd/conf.d. ( grep SSL /etc/httpd/{conf,conf.d} -r)를 찾아서 파괴하거나 Apache 용 SSL 모듈을 설치하십시오.

yum install mod_ssl

답변

내 경우에는 mod_ssl이 설치되었지만 활성화되지 않았습니다. 이를 위해 나는 달렸다.

sudo a2enmod ssl