[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache2 config errors on previously good setup



Mike Bird wrote:
On Sat February 16 2008 08:29:06 gary turner wrote:
koko:/home/gt# apt-cache policy libxml2
libxml2:
   Installed: 2.6.31.dfsg-1
   Candidate: 2.6.31.dfsg-1
   Version table:
  *** 2.6.31.dfsg-1 0
         500 ftp://ftp.us.debian.org lenny/main Packages
         100 /var/lib/dpkg/status
      2.6.27.dfsg-2 0
         500 http://security.debian.org stable/updates/main Packages

You have the correct version of libxml2 installed.  I don't know
why libphp5.so isn't finding it.
Does libxml2's path need to be in the php.ini include path?  I have this:
include_path = ".:/usr/share/php:/usr/share/php/smarty/libs:/usr/share/pear"

libxml2 is
gt@koko:/usr/lib$ ls -al | grep libxml
lrwxrwxrwx 1 root root 17 2008-02-16 10:11 libxml2.so.2 -> libxml2.so.2.6.31
-rw-r--r--   1 root root     1166856 2008-01-19 12:54 libxml2.so.2.6.31

The only oddity I see is that you have stable/updates appearing
in your apt-cache policy.  This means that you have a mixture
of Etch and Lenny, which could cause weird problems.  Try fixing
your /etc/apt/sources.list and then apt-get update, apt-get upgrade.
I don't expect libapache2-mod-php5 or libxml2 to change but something
else might.
Oops, had failed to comment out the security address. Everything points to lenny now.

Did update + upgrade + dist-upgrade with 0 packages upgraded, added or removed.

Are you aware of any other unusual aspects to your configuration?
Anything that might override shared library search paths?  Any
old copies of libxml2 floating around other
I haven't touched configuration files since moving from Apache 1.3 to Apache2 last July, I think it was. Everything except system specifics was left at default.

gary
--
Anyone can make a usable web site. It takes a graphic
designer to make it slow, confusing and painful to use.
begin:vcard
fn:Gary Turner
n:Turner;Gary
org:Gary Turner, Web Developer
adr:;;;;;;USA
email;internet:czar@gtwebdev.com
title:Czar
x-mozilla-html:FALSE
url:http://gtwebdev.com/
version:2.1
end:vcard


Reply to: