Hi Carson,
First, you need access to the remote server. For sure, installing Oracle on RH 7.1 is not an easy task (at least wasn't for me). I can help you, let me know.
Let me concentrate on php. If you are using the original rh 7.1 rpms, they have no oci8 support compiled in. Of course, you can deinstall all the php packages an build it from sources. There is another way: install php, php-devel and php-sources rpms. As root:
cd /usr/src/redhat/SOURCES
tar xfz php-4.0.4pl1.tar.gz
cd php-4.0.4pl1/ext/oci8
export ORACLE_HOME=your_oracle_home
vi oci8.c
Insert...
#include "php_config.h"
...before the #include "php.h"
phpize
./configure
make all
Now you have a new oci8.so extension.
cp modules/oci8.so /usr/lib/php4
vi /etc/php.ini
... remove the leading ; from
;extension=oci8.so
/etc/rc.d/init.d/httpd restart
Remember, your scripts must include...
putenv("ORACLE_HOME=your_oracle_home")
...before any oci8 function call.
AAAdios