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

When I run PHP 5.3.1 configure in my home directory, I get error message:

configure: error: xml2-config not found. Please check your libxml2 installation.

I don't have the root password on that machine, so I have managed to compile libxml2 only in home directory -- no permissions to copy it to the system directories.

So, as I understand, I have two options:

  1. to set path to the recently compiled libxml2 in the PHP configure settings
  2. compile without libxml2

Could you tell me how to do any of them? I don't have a good experience with Linux etc. so I believe it might be a simple question...

BTW, it is Linux Debian 4.0 machine.

share|improve this question
up vote 1 down vote accepted

Yeah, I found the answer on SOF: http://stackoverflow.com/questions/610940/install-php-5-without-libxml2

share|improve this answer

You must log in to answer this question.

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