PHP 4 & OCI

Installation and support for Oracle DB on CentOS.
Niniel
Posts: 5
Joined: 2008/01/09 19:57:23

PHP 4 & OCI

Postby Niniel » 2008/01/09 20:04:16

Is there any way to enable OCI in PHP 4 via yum or configuration files? I have found some tutorials that require configure and make commands.

I am running Centos 4, Apache 2, PHP 4, and Oracle Database Server 10g on the box. Everything works well except I cannot write PHP scripts to interface with Oracle. Any help would be appreciated. Thanks!

foxb
Posts: 1921
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

PHP 4 & OCI

Postby foxb » 2008/01/10 02:55:30

You need to recompile from source.... Rebuilding from source RPM failed for me.

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: PHP 4 & OCI

Postby osde8info » 2008/01/21 17:51:25

we've also spent two days reading lots of oracle php docs and trying to compile OCI into various combinations of centos 3, 4 & 5, apache 1 & 2, php 4 & 5 so please let us know if you are successful and if so how you did it ?