I'm trying in vain to get the php oci_* extensions installed on our server, but i've hit a brick wall.
So far i've done this:
- Installed oracle basic & devel libraries (v10.2)
- Installed php-pear package
Now I'm trying to install oci8 using "pecl install oci8" but I get an error message about "phpize" command not being found.
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.
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":
php-devel.i386 : Files needed for building PHP extensions
But when I try to install it I get this:
Error: Package: php-devel-5.2.17-jason.2.i386 (utterramblings)
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
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.
These are our details:
Red Hat Enterprise Linux Server release 6.1 (Santiago) [32bit]
PHP 5.3.3
Could anyone please advise me as to either:
a) what I need to do to resolve that issue and get php-devel installed from that repo
OR
b) point me in the direction of another repo which will allow me to easily install php-devel for our server
Thank you.