title: How do I upgrade libxml2 to version 2.9.9 in CentOS 7?
body: <p>My step:</p>
  
  <p>Download:</p>
  
  <pre><code># wget ftp://xmlsoft.org/libxml2/libxml2-2.9.9.tar.gz
  </code></pre>
  
  <p>Unpacking the archive:</p>
  
  <pre><code># tar -zxvf libxml2-2.9.9.tar.gz
  </code></pre>
  
  <p>Move into the directory:</p>
  
  <pre><code># cd libxml2-2.9.9/
  </code></pre>
  
  <p>Doing something weird:</p>
  
  <pre><code># ./configure &amp;&amp; make &amp;&amp; make install
  </code></pre>
  
  <p>This command returns an error:</p>
  
  <pre><code>checking whether to enable maintainer-specific portions of Makefiles... yes
  checking build system type... x86_64-pc-linux-gnu
  checking host system type... x86_64-pc-linux-gnu
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking whether make supports nested variables... (cached) yes
  checking for gcc... no
  checking for cc... no
  checking for cl.exe... no
  configure: error: in `/root/libxml2-2.9.9':
  configure: error: no acceptable C compiler found in $PATH
  </code></pre>
  
  <p>Command: <code>php -i | grep libxml</code> produces the following result:</p>
  
  <pre><code>PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in Unknown on line 0
  libxml
  libxml2 Version =&gt; 2.9.1
  OLDPWD =&gt; /root/libxml2-2.9.9
  _SERVER["OLDPWD"] =&gt; /root/libxml2-2.9.9
  </code></pre>
  
  <p>Command: <code>yum update-to libxml2-2.9.9</code> - not working.</p>