sudo apachectl configtest
apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/mod-security.load: Cannot load /usr/lib/libxml2.so.2 into server: /usr/lib/libxml2.so.2: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
sudo apt-get install apache2 libapache2- modsecurity
reproduced on 12.04:
sudo apachectl configtest apache2. conf: Syntax error on line 1 of /etc/apache2/ mods-enabled/ mod-security. load: Cannot load /usr/lib/ libxml2. so.2 into server: /usr/lib/ libxml2. so.2: cannot open shared object file: No such file or directory
apache2: Syntax error on line 210 of /etc/apache2/
Action 'configtest' failed.
The Apache error log may have more information.