note 7702 added to Oracle 8 functions
| From: | dwood at gzsite dot com | Date: | Sat, 12 Aug 2000 02:37:43 +0000 |
| Subject: | note 7702 added to Oracle 8 functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1418@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
http://www.php.net/manual/ref.oci8.php