
Instalei mod_security e mod_evasive no Amazon EC2. Inicialmente necessita dos componentes libxml2 libxml2-devel, httpd-devel, pcre-devel, curl-devel. Mas meu site usa PHP56, então usei os seguintes comandos:
yum remover ferramentas httpd yum -y instalar httpd24 yum -y instalar php56
e reiniciei o serviço httpd a seguinte mensagem é exibida:
Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 7 of /etc/httpd/conf.d/modsecurity.conf:
Invalid command 'SecRuleEngine', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Não consigo iniciar o serviço, alguém me ajuda?
O arquivo/etc/httpd/conf.d/modsecurity.conf