note 5928 deleted from oci8.installation by sixd
| From: | sixd@php.net | Date: | Mon, 07 Dec 2009 21:55:50 +0000 |
| Subject: | note 5928 deleted from oci8.installation by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163697@lists.php.net to get a copy of this message | ||
Note Submitter: ojones at dotclick dot com
----
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).