title: PHP installation conflicts on Centos6
body: <p>I'm new to server and linux and I ran into some problems. I'm trying to update my PHP by looking for linux commands through the net. Some commands ran perfectly but some not. </p>
  
  <p>I tried using this command to install php-gd since I have this error message 'Required GD library is missing'. So, I tried to run this below:</p>
  
  <pre><code>yum install php-gd
  </code></pre>
  
  <p>However, it give me this error message below:</p>
  
  <pre><code>php56w-common conflicts with php-common-5.3.3-46.el6_6.x86_64
  </code></pre>
  
  <p>Here are some info on my server:</p>
  
  <pre><code>[root@uat ~]# rpm -ql php
  package php is not installed
  
  [root@uat ~]# rpm -qa php\*
  php56w-pdo-5.6.11-1.w6.x86_64
  php56w-5.6.11-1.w6.x86_64
  php56w-cli-5.6.11-1.w6.x86_64
  php56w-common-5.6.11-1.w6.x86_64
  php56w-mysql-5.6.11-1.w6.x86_64
  
  [root@uat ~]# rpm -Va php\*
  S.5....T.  c /etc/php.ini
  [root@uat ~]# which php
  /usr/bin/php
  
  [root@uat ~]# php -v
  PHP 5.6.11 (cli) (built: Jul 10 2015 22:43:20)
  Copyright (c) 1997-2015 The PHP Group
  Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
  </code></pre>
  
  <p>Do you know what have I done wrong upgrading my php? Should I remove all php files on my server and reinstall? How?</p>