note 13017 modified in oci8.setup by sixd
| From: | sixd@php.net | Date: | Fri, 26 Jun 2009 18:12:57 +0000 |
| Subject: | note 13017 modified in oci8.setup by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157561@lists.php.net to get a copy of this message | ||
When using PHP4 in CGI-mode with Windows NT or Windows 2000 with IIS or Apache, make sure that the
TNSNAMES.ORA and the SQLNET.ORA do not contain DOS/Windows CR/LF line endings.<br> Instead,
they must have UNIX (only LF) endings. Otherwise, you will get an ORA-12154 error (TNS cannot
resolve service name) when connecting to a remote database.<br>
This all does not matter if you use the ISAPI mode.
Frank
--was--
When using PHP4 in CGI-mode with Windows NT or Windows 2000 with IIS or Apache, make sure that the
TNSNAMES.ORA and the SQLNET.ORA do not contain DOS/Windows CR/LF line endings.<br> Instead,
they must have UNIX (only LF) endings. Otherwise, you will get an ORA-12154 error (TNS cannot
resolve service name) when connecting to a remote database.<br>
This all does not matter if you use the ISAPI mode.
Frank
http://php.net/manual/en/oci8.setup.php