Updating timezone on redhat9 1099 consolidating secured debt 1584
For some time I thought that --with-oci8 wouldn't work with Oracle9 but that wasn't the case, the solution was many steps.
1) install oracle, might require some tricks, on Red Hat9 I had to put this in my .bashrc: export ORACLE_BASE=/opt/ora9 export ORACLE_HOME=$ORACLE_BASE/product/9.2 export PATH=$ORACLE_HOME/bin:$PATH export ORACLE_OWNER=oracle export ORACLE_SID=netadmdb export ORACLE_TERM=vt100 export LD_ASSUME_KERNEL=2.4.1 export THREADS_FLAG=native export LD_LIBRARY_PATH=$ORACLE_BASE/product/9.2/lib:$LD_LIBRARY_PATH 2) compile php, use --with-oci8 3) Make an init-script for the oracle9 database server, as default the TNS listener doesn't run so add that on aswell, example: #!
I've had all kinds of errors with Red Hat9(yuck), PHP 4.3.4RC1 and Oracle enterprice server 9.2.
Bounce Apache: /usr/local/apache/bin/apachectl restart 14. I ran into problems when statically compiling, such as numerous "undefined reference to `zif_oci_***'" errors.
Since I likely won't be the only one to run into this problem, here's some helpful hints: If you've previously compiled your php installation, first: make clean Then replace the existing php-x.x.x/ext/oci8 directory with the latest package from: ./buildconf --force ./config ..
/bin/bash ORACLE_HOME=/usr/lib/oracle/11.2/client64LD_LIBRARY_PATH=$ORACLE_HOME/lib NLS_LANG=american_america.utf8export ORACLE_HOME LD_LIBRARY_PATH NLS_LANG/etc/init.d/php-fpm...... You may also have to fake out the build by putting header files where it is looking for them, e.g.
in the rdbms/demo directory or some such other place. Unpack PHP source (php-4.2.3): gunzip php-4.2.3gz tar xvf php-4.2.3cd php-4.2.3 7. Change the Load Module line in to include the fully qualified path.