You are not logged in.

#1 2008-04-16 00:35:24

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

[SOLVED] Apache fails (php module). libxml2?

Hi,

Out of nowhere (it was working before.. it kind of just stopped working within the last week or so), apache will not load. I traced the problem down to httpd.conf, the line loading the php5 module. After some research I found someone with an identical problem, and a user in the thread said to use apachectl -t. Installing libxml2 worked for him, but I already had it and it doesn't work reinstalling it either for me. The result of that command:

httpd: Syntax error on line 114 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /usr/lib/libxml2.so.2: undefined symbol: gzrewind

I tried to reinstall libxml2, doesn't help. Ideas?


Note: it's possible that this problem is linked with my other thread http://bbs.archlinux.org/viewtopic.php?id=47175 , because libxml2 has zlib as a dependency, which is what appears to be giving me problems.

Last edited by FrozenFox (2008-04-16 01:14:42)

Offline

#2 2008-04-16 01:14:31

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: [SOLVED] Apache fails (php module). libxml2?

! I figured out the problem. A few days ago, I installed dpkg from aur and got .deb installs to work using alien-extra.tar.gz from ftp://ykbsb2.yk.psu.edu/pub/alien/. However, I didn't notice it had zlib and some symlinks for it there, and so I stupidly replaced zlib. pacman -Sf alone didnt fix it. Removing /usr/lib/libz.so, /usr/lib/libz.so.1, /usr/lib/libz.so.1.0.4 and THEN pacman -Sf zlib fixed the issue. Oops. I must correct a comment I made on the dpkg page right away..

For some reason, this caused apache to fail when loading the php5 module. It works now.

Last edited by FrozenFox (2008-04-16 01:29:27)

Offline

Board footer

Powered by FluxBB