frequently ask ? : Computers : Programming : Languages : PHP : Database Backed Sites : Oracle : Installation

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 11 people (91%) answered Yes
Recently 5 of 5 people (100%) answered Yes

Entry

OCI8 Works fine as a test (php comp. without apxs), but gives TNS errors when run as an apache mod. how does apache get the ORACLE_HOME variable?

Apr 19th, 2001 16:53
Onno Benschop, Matthew Cook,


I set an environment variable within the PHP script:
putenv("ORACLE_HOME=/data/rdbms/oracle")