note 5928 modified in ref.oci8 by sixd

From: Date: Thu, 10 Apr 2008 22:07:27 +0000
Subject: note 5928 modified in ref.oci8 by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138129@lists.php.net to get a copy of this message
If you're using OCI calls from apache/mod_php, and getting ORA-12514 errors, it's important to make sure your ORACLE_HOME environment variable is defined when you start apache. If you use /etc/rc.d/init.d/httpd to start apache, simply put the environment variable definition in there. This ORA-12514 error is baffling, because there isn't any such error code. It actually should be ORA-12154 (but there's an error-code transposition somewhere in Oracle 8.1.5.0.2, on Linux). --was-- If you're using OCI calls from apache/mod_php, and getting ORA-12514 errors, it's important to make sure your ORACLE_HOME environment variable is defined when you start apache. If you use /etc/rc.d/init.d/httpd to start apache, simply put the environment variable definition in there. This ORA-12514 error is baffling, because there isn't any such error code. It actually should be ORA-12154 (but there's an error-code transposition somewhere in Oracle 8.1.5.0.2, on Linux). http://php.net/manual/en/ref.oci8.php

« previous php.notes (#138129) next »