Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.