---
title: "Gentoo: PHP5 & libxml blocking issue"
date: "2009-01-18"
modified: "2013-03-03"
path: "/23-gentoo-php5-libxml-blocking-issue.html"
section: "/ramblings"
aliases:
  - "/23"
  - "/23-gentoo-php5-libxml-blocking-issue"
  - "/23.html"
  - "/ramblings/23-gentoo-php5-libxml-blocking-issue.html"
---

I just got the following: ebuilds that could satisfy ">=dev-libs/libxml2-2.7.2-r2" have been masked

According to the following post, the easiest way to get this operational is to accept the keywords and install anyway:

`ACCEPT_KEYWORDS="~amd64" emerge =dev-libs/libxml2-2.7.2-r2`

At the time of writing this post, PHP had been modified to work with the latest libxml and added to the portage tree. So, it was a l simpler for me to simply install anyway...

**Added:**\
Right after doing this you get a conflict relating to PHP requiring two versions of libxml.\
Try simply installing PHP separately:

`emerge -p =dev-lang/php-5.2.8-r2` Lets see what happens.... emerge 3 of 7, damn that MySQL will have to wait a few mins. Well, it took a while but this process works!
