Apache broke after upgrading php and apache

September 8, 2014 1.4k views

I tried to upgrade my php version and somehow the apache version also upgraded. After this upgrade I got a lot of errors obviously and I managed to solve lots of them except this one

apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authmysql.load: Cannot load /usr/lib/apache2/modules/ into server: /usr/lib/apache2/modules/ cannot open shared object file: No such file or directory

The module doesn't exist as I checked. How can I solve this? I tried to google all the way but I can't seem to find a correct answer.

Any help would be awesome :) Thanks in advance guys!

edit I think this problem occurs because of iredmail that depends on that module. Could this be possible?

1 Answer

You could just disable the mod, restart apache and see what works and what doesn't.

Try something like:

a2dismod auth_mysql

You're probably right in saying iredmail needs that mod enabled. Have you tried just installing the mod?

Try this:

sudo apt-get install libapache2-mod-auth-mysql

Restart apache

service apache2 restart
Have another answer? Share your knowledge.