I am building an application for our intranet I need to connect to our oracle database. The Web Server is windows and IIS. PHP is installed and working correctly, also the OCI8 extension is enabled and working correctly. The Database Server is running off a Linux box and is ORacle 9i. I tried a quick OCILogon and got some TNS error. I didn't set an environment variables yet.
2 Questions
What environment variables do I need to set? The webserver and dataserver are on different machines, I'm not sure if that makes a diiference.
Can I set them in the PHP script using putenv(); or do I have to hard code it somewhere?
From what I have found on PHP's site I need to set these variables
ORACLE_HOME
ORACLE_BASE
NLS_LANG
ORA_NLS33
ORACLE_TERM
LD_LIBRARY_PATH
are there any others that you are aware of ? Thanks in advance.