PDA

View Full Version : [ubuntu] oracle XE+PHP5 on 9.10



ismooth
November 12th, 2009, 09:53 PM
I installed Oracle XE on Ubuntu 9.10, and managed to configure oci extension with php5. but I'm getting the following error when try to use it:

Warning: oci_connect() [function.oci-connect (http://localhost/pm/server/function.oci-connect)]: ORA-12154: TNS:could not resolve the connect identifier specified in...

Basically I can't connect to the database via php (through sqlplus I can).
I have all env variables set up properly, and have double checked values in tnsnames.ora and listener.ora.

Help!