Ok. with a little bit of help from this thread according to phpinfo() I have the OCI8 installed and enabled. Now my problem comes in my tnsnames.ora
I setup $TNS_ADMIN to point to the directory where my tnsnames.ora file is located and am still getting this error
Warning: oci_connect() [function.oci-connect]: ORA-12154: TNS:could not resolve the connect identifier specified in
Did i miss something? The tnsnames file is the same one i copied from my box when I use toad to connect to the databases
edit:ok.. I think I might have narrowed down my problem
I'm obviously doing somethign wrong setting the $TNS_ADMIN environment variable. I tried
but i get errors sudo: export: command not found. If i issue the same command as a normal user it's not set globally so apache isn't seeing it.
sudo export $TNS_ADMIN=/path/to/tnsnames.ora
What do I do?