You have to download and install the intantclient from oracle first.
In php.spec add at section:
"# Shell function to configure and build a PHP tree." 
after: "        --with-xml \" and before:" $*" a new line with:
 --with-oci8=instantclient,/opt/instantclient_10_2 \
where /opt/instantclient_10_2 is my instantclient directory.
then rpmbuild -ba php.spec

Best regards,

Dirk 

Am Donnerstag, 28. Juni 2007 schrieb Collins, Kevin [Beeline]:
> Hi,
>
>       has anyone on the list gotten OCI8 working with PHP5 on RHEL5? I
> was previously (RHEL3, RHEL4) able to do:
>
> Install the php src package then:
>
> cd /usr/src/redhat/SPECS
>
> rpmbuild -bb --define 'oracle 1' php.spec
>
> This did not generate a php-oci8 module and after inspecting the
> php.spec file I do not see a %package entry for oci8...
>
> Thanks,
>
> Kevin


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to