note 7702 deleted from Oracle 8 functions by ronabop
| From: | ronabop@php.net | Date: | Sun, 01 Oct 2000 05:49:38 +0000 |
| Subject: | note 7702 deleted from Oracle 8 functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5729@lists.php.net to get a copy of this message | ||
I've seen two major problems with PHP 4.0/Oracle 8i on Linux.
1. It's best to include the two following lines in your apache startup script.
export ORACLE_HOME=<oracle home directory>
export LD_PRELOAD=/usr/lib/libpthread.so
The first entry will allow php to find the tnsnames.ora through the oracle client libraries.
The second entry solves a problem of apache dumping on startup after enabling php4 as a DSO.
2. Make certain that the user you are running apache under is a member of your dba group.
I tore my hair out for hours on these two.
Thanks,
David Wood