Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting the following error when trying to start Apache on an Ubuntu 10.04 LTS (Lucid Lynx) vserver:

apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax 
error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load 
/usr/lib/apache2/modules/ into server: /lib/ version 
`ZLIB_1.2.3.3' not found (required by /usr/lib/x86_64-linux-gnu/

What does this mean? How do I fix this?

share|improve this question
How did you install your apache2? With an apt-get? The dependencies should be resolved at installation time. Did you change the config etc.? If it's a possibility for you, purging and reinstalling apache2 would be my first guess. – Marin Althuis Jun 9 '15 at 9:43

It means that apache is trying to Load the PHP5 module and failing. PHP5 depends on the libxml2 library, which in turns depends on zlib (v1.2.3.3), but it was unable to find libz. Make sure you have zlib installed, on my Ubuntu system I would run:

sudo apt-get install zlib1g

Or if you're not using PHP5 run

sudo a2dismod php5

to disable that module.

share|improve this answer
It says zlib1g is already the newest version. – buggy1985 Oct 1 '13 at 7:16

Reinstalling libxml2 solved my problem:

apt-get purge libxml2
apt-get install libxml2

After that I needed to install php5 again.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .