Oracle Client installation on CentOS 4.2

Installation and support for Oracle DB on CentOS.

Oracle Client installation on CentOS 4.2

Postby abasak123 » 2006/02/28 16:36:34

I would like to install the oracle client on a centos 4.2 system. I have php already installed via the CentOS install CDs (I think I also upgraded php to 4.3.9 via yum later on). I have the Oracle RPMs with me, but the documentation there talks about recompiling apache and php for the oci support.

I am little bit confused here as how do I go about it now. I installed apache and php via the CentOS CDs instead of downloading the source, configuring and then installing them. How do I add oci support in php without breaking the exisiting package.

( I wish there was something like a yum package...in the lines of the gd feature in php...is there any like that for oci 8?)


:-)
abasak123
 
Posts: 2
Joined: 2006/02/28 16:23:19

Re: Oracle Client installation on CentOS 4.2

Postby unixexperts » 2006/03/18 21:07:10

Well it is very easy to get oracle + php running in centOS, however you need to compile php using tar.gz.
unixexperts
 
Posts: 1
Joined: 2006/03/18 20:09:46

Re: Oracle Client installation on CentOS 4.2

Postby abasak123 » 2006/03/22 06:16:17

I am talking about the oracle client here. I did download the php source code and recompile it with the --with-oci8 =instantclient,"\oracle\lib\path" option. All I get is a bunch of non referenced errors from libcllnt.so during the make process. The Oracle client , I used was 10.2.0.1 and I did try php 4.3.9 and also 5.1.2. For the latter php version, I even followed the patch instructions from the otn website.....but I got the same. I even scaled down the apache to 1.3.....still the same thing.

Have you done this type of installation?. If so, could you kindly give me the following info.

Apache version used.
php version used.
"./configure" recipe for the same in php
Any other rpms/patches installed other than the basic and devel clients from OTN?

Thanks a lot in advance,
:-)
abasak123
 
Posts: 2
Joined: 2006/02/28 16:23:19

Re: Oracle Client installation on CentOS 4.2

Postby kaapie » 2006/06/09 14:58:49

-- apache
./configure --prefix=/etc/apache --enable-module=so

--PHP
./configure --with-oci8=/ora00/app/oracle/product/10.2 --with-apxs2=/etc/apache/bin/apxs --with-config-file-path=/etc/apache/conf --enable-sigchild --with-oracle=/ora00/app/oracle/product/10.2


--**
PHP Version 5.1.4
System Linux localhost.localdomain 2.6.9-34.0.1.ELsmp #1 SMP Wed May 24 05:28:30 CDT 2006 x86_64
Build Date May 9 2006 17:06:56
Configure Command './configure' '--with-oci8=/ora00/app/oracle/product/10.2' '--with-apxs2=/etc/apache/bin/apxs' '--with-config-file-path=/etc/apache/conf' '--enable-sigchild' '--with-oracle=/ora00/app/oracle/product/10.2'
Server API Apache 2.0 Handler
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025

Apache Version Apache/2.2.2 (Unix) PHP/5.1.4
Apache API Version 20051115
Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_log_config mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_cgi mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_so mod_php5
kaapie
 
Posts: 1
Joined: 2006/06/09 14:46:16


Return to CentOS 4 - Oracle Installation and Support

Who is online

Users browsing this forum: No registered users and 0 guests