Server Fault is a question and answer site for system and network administrators. 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

I'm running into some problems upgrading the version of libxml2 that my local PHP install is using. I originally posted about this here, but I've now got some more information so thought it was worthwhile reposting.

I run PHP via XAMPP 1.0.1 installed on OS X 10.7. The version of libxml2 that PHP can see (according to phpinfo()) is 2.7.2. I've used MacPorts to istall libxml2 version 2.7.8, but it seems that PHP is still pointing at version 2.7.2.

How can I go about configuring PHP to use libxml2 version 2.7.8?

share|improve this question

migrated from Jun 9 '12 at 17:50

This question came from our site for pro webmasters.

Your Answer


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

Browse other questions tagged or ask your own question.