title: Install PHP and oci8 extension on centos 6.5
body: <p>I have installed PHP on Centos6.5 from help given <a href="https://unix.stackexchange.com/questions/138019/php-5-5-13-on-centos-6-5-with-yum">Install Php</a>
  PHP version is 5.5.16</p>
  
  <p>For installing the OCI8 Extension I executed the following </p>
  
  <ol>
  <li><p>downloaded the RPMs and installed </p>
  
  <p>rpm -Uvh oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm</p>
  
  <p>rpm -Uvh oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm</p></li>
  <li><p>executed the command <code>pecl install oci8</code></p>
  
  <p>For this it gave error <code>bash: /usr/bin/pecl: No such file or directory</code>,  for this I executed <code>yum install php-pear</code>.</p></li>
  <li><p>Executed the command <code>pecl install oci8</code>
  It is giving the following error</p>
  
  <p>downloading oci8-2.0.8.tgz ...</p>
  
  <p>Starting to download oci8-2.0.8.tgz (190,854 bytes)</p>
  
  <p>.........................................done: 190,854 bytes</p>
  
  <p>11 source files, building</p>
  
  <p>running: phpize</p>
  
  <p>Can't find PHP headers in /usr/include/php</p>
  
  <p>The php-devel package is required for use of this command.</p>
  
  <p>ERROR: `phpize' failed</p></li>
  <li><p>To check if php-devel is installed i executed <code>rpm -qa | grep php</code> </p></li>
  </ol>
  
  <p>The result :</p>
  
  <pre><code>php55w-opcache-5.5.16-1.w6.x86_64
  
  php55w-common-5.5.16-1.w6.x86_64
  
  php55w-process-5.5.16-1.w6.x86_64
  
  php55w-cli-5.5.16-1.w6.x86_64
  
  php55w-xml-5.5.16-1.w6.x86_64
  
  php55w-5.5.16-1.w6.x86_64
  
  php-pear-1.9.5-3.el6.remi.noarch
  </code></pre>
  
  <p>Can anybody tell me where I am going wrong?</p>