PHP 4.0 Bug #8302 Updated: Warning: _oci_open_server: ORA-12547: TNS:lost contact in /usr/local/apache/htd
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 10:47:00 +0000 |
| Subject: | PHP 4.0 Bug #8302 Updated: Warning: _oci_open_server: ORA-12547: TNS:lost contact in /usr/local/apache/htd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41718@lists.php.net to get a copy of this message | ||
ID: 8302
Updated by: sniper
Reported By: czuluaga@delta.eafit.edu.co
Old-Status: Open
Status: Closed
Bug Type: OCI8 related
Assigned To:
Comments:
I don't know which shell you are using but I use bash and it goes like this:
e.g.
# export LD_LIBRARY_PATH=/www/libs/
and then I would restart Apache so that it will use that variable..
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-17 12:27:05] czuluaga@delta.eafit.edu.co
How we can set all the required environment variables before starting Apache?
We set this variables when the oracle user logon, but the apache server is always active.
---------------------------------------------------------------------------
[2000-12-17 12:23:42] czuluaga@delta.eafit.edu.co
How we can set all the required environment variables before starting Apache?
We set this variables when the oracle user logon, but the apache server is always active.
---------------------------------------------------------------------------
[2000-12-17 12:07:56] czuluaga@delta.eafit.edu.co
the correct name for php test is prueba6.php not connect_test.html
---------------------------------------------------------------------------
[2000-12-17 12:04:13] sniper@php.net
Did you set all the required environment variables before starting Apache?
Check this manual page:
http://www.php.net/manual/ref.oci8.php
--Jani
---------------------------------------------------------------------------
[2000-12-17 11:59:07] czuluaga@delta.eafit.edu.co
Warning: _oci_open_server: ORA-12547: TNS:lost contact in /usr/local/apache/htdocs/prueba6.php on
line 22
connect_test.html just has a simple OCILogon call to the database. The client and server Oracle
software is set up with Net8 and works fine, it's only from the browser the error occurs. No
tracing is produced at the Net8 level for the error.
can anyone give me any help.
Modules
oracle
Oracle Support
enabled
Oracle Version
8.1
Compile-time ORACLE_HOME
/usr/local/oracle/app/oracle/product/8.1.5
oci8
OCI8 Support
enabled
Revision
$Revision: 1.96 $
Oracle Version
8.1
Compile-time ORACLE_HOME
/usr/local/oracle/app/oracle/product/8.1.5/
We sent this error to oracle support, but they said us to go to this page, because the problem
isn't from oracle.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=8302