title: installing php-devel on RHEL6 (PHP 5.3.3)
body: <p>I'm trying in vain to get the php oci_* extensions installed on our server, but i've hit a brick wall.</p>
  
  <p>So far i've done this:</p>
  
  <ul>
  <li>Installed oracle basic &amp; devel libraries (v10.2)</li>
  <li>Installed php-pear package</li>
  </ul>
  
  <p>Now I'm trying to install oci8 using "pecl install oci8" but I get an error message about "phpize" command not being found.</p>
  
  <p>My googling tells me that that is caused by "php-devel" not being installed, so i tried various different yum searches, e.g. "yum search php-devel", "yum search php5-devel", "yum search php-dev", etc... none of which could find anything.</p>
  
  <p>I eventually found a repository hosted by "utterramblings" which had php-devel. So, now when I do a yum search using that repository, it can find "php-devel":</p>
  
  <blockquote>
    <p>php-devel.i386 : Files needed for building PHP extensions</p>
  </blockquote>
  
  <p>But when I try to install it I get this:</p>
  
  <blockquote>
    <p>Error: Package: php-devel-5.2.17-jason.2.i386 (utterramblings)</p>
  </blockquote>
  
  <pre><code>       Requires: php = 5.2.17-jason.2
         Installed: php-5.3.3-14.el6_3.i686 (@rhel-i386-server-6)
             php = 5.3.3-14.el6_3
         Available: php-5.2.13-jason.1.i386 (utterramblings)
             php = 5.2.13-jason.1
         Available: php-5.2.14-jason.1.i386 (utterramblings)
             php = 5.2.14-jason.1
         Available: php-5.2.16-jason.1.i386 (utterramblings)
             php = 5.2.16-jason.1
         Available: php-5.2.17-jason.2.i386 (utterramblings)
             php = 5.2.17-jason.2
         Available: php-5.3.2-6.el6.i686 (rhel-i386-server-6)
             php = 5.3.2-6.el6
         Available: php-5.3.2-6.el6_0.1.i686 (rhel-i386-server-6)
             php = 5.3.2-6.el6_0.1
         Available: php-5.3.3-3.el6.i686 (rhel-i386-server-6)
             php = 5.3.3-3.el6
         Available: php-5.3.3-3.el6_1.3.i686 (rhel-i386-server-6)
             php = 5.3.3-3.el6_1.3
         Available: php-5.3.3-3.el6_2.5.i686 (rhel-i386-server-6)
             php = 5.3.3-3.el6_2.5
         Available: php-5.3.3-3.el6_2.6.i686 (rhel-i386-server-6)
             php = 5.3.3-3.el6_2.6
         Available: php-5.3.3-3.el6_2.8.i686 (rhel-i386-server-6)
             php = 5.3.3-3.el6_2.8
  </code></pre>
  
  <p>And to be honest, i'm not sure how to resolve that, presumably it has something to do with the version of php we have installed, but i'm not sure what I need to do to fix it.</p>
  
  <p>These are our details:</p>
  
  <p>Red Hat Enterprise Linux Server release 6.1 (Santiago) [32bit]</p>
  
  <p>PHP 5.3.3</p>
  
  <p>Could anyone please advise me as to either:</p>
  
  <p>a) what I need to do to resolve that issue and get php-devel installed from that repo</p>
  
  <p>OR</p>
  
  <p>b) point me in the direction of another repo which will allow me to easily install php-devel for our server</p>
  
  <p>Thank you.</p>