Running RHEL4. I had php4 installed as an rpm, but I needed the Oracle instant client support. I erased the php4 rpm and compiled php 5.1.5 with the "--with-oci8-instant-client" option. When I pull up a phpinfo(), there is no oci8 section.
I have the oracle instant client rpms installed:
oracle-instantclient-basic-10.2.0.1-1
oracle-instantclient-sqlplus-10.2.0.1-1
oracle-instantclient-devel-10.2.0.1-1
I've set LD_LIBRARY_PATH and ORACLE_HOME with:
export ORACLE_HOME=/usr/lib/oracle/10.2.0.1/client
export LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
I added the following to httpd.conf:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
I did not touch the Apache httpd rpm (httpd-2.0.52-28.ent), I'm not sure if this is the problem.
Thanks in advance.