note 8872 added to Oracle 8 functions
| From: | shmengie_2000 at yahoo dot com | Date: | Tue, 03 Oct 2000 07:43:26 +0000 |
| Subject: | note 8872 added to Oracle 8 functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5981@lists.php.net to get a copy of this message | ||
couple of notes about startup/shutdown on linux: (redhat, maybe others)
export LD_PRELOAD=/usr/lib/libpthread.so
Caused the start/stop script to fail to stop the httpd process.
The LD_PRELOAD environment var caused the 'ps' command to core dump. I went bald figuring
that out.
Easiest fix I could think of was to move all the oracle/php varialble exports so they are only set
in the start section of the httpd script.
Never thought setting those vars globally in the script would cause problems. That's what I
get for thinking...
One other note: Make sure the httpd process is shutdown before Oracle.
eg:
/etc/rc.d/rc0.d/K15httpd
/etc/rc.d/rc0.d/K25Oracle
Lingering connections to oracle may cause shutdown to take forever.
gl & hf
-Joe
http://www.php.net/manual/ref.oci8.php