Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
RPMs for php-oci8 for RHEL3?

RPMs for php-oci8 for RHEL3?

2005-07-21       - By Jay Lee

 Back
Reply:     1     2     3     4  

Doug Stewart wrote:
> Does anyone know of a source of php-oci8 rpms for RHEL3?  Failing that,
> does anyone have a link to some documentation to get such capability on
> an RHEL3 system?
> I really, REALLY hate relying upon hacked up old Perl scripts for any
> interactions I have with Oracle DBs.  I'd much prefer to work in my
> language of choice...

I've rebuilt the PHP rpm with mssql support numerous times.  Not hard to
do and oracle is no different.  You will of course need the oracle
client libraries installed before rebuilding.  RedHat's php RPM looks
for the existance of oracle-instantclient-basic RPM so get that or, if
you used the .tar.gz, comment out the Require in the .spec and make sure
the php configure knows where the oc client is.

As root:

up2date --get-source phpmkdir $HOME/rpm

As non-root user:

#Setup personal rpmbuild enviro:
mkdir $HOME/rpm/SOURCES
mkdir $HOME/rpm/SPECS
mkdir $HOME/rpm/BUILD
mkdir $HOME/rpm/SRPMS
mkdir $HOME/rpm/RPMS
mkdir $HOME/rpm/RPMS/i386
echo "%_topdir    $HOME/rpm" >> $HOME/.rpmmacros

#Now install the SRPM, sources and spec file
#will be installed in $HOME/rpm
rpm -Uvh /var/spool/up2date/php-4.3.2-24.ent.src.rpm

#Now we're ready to rebuild php with Oracle support
cd $HOME/rpm/SPECS
rpmbuild -bb --define 'oracle 1' php.spec

this will generate your new PHP rpms.  All you should really need to
install is php-oracle since the others should be identical.

Jay
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.