ID: 35572
Updated by: [EMAIL PROTECTED]
Reported By: lauris at nix dot lv
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Mandriva Linux 2006
PHP Version: 5.1.1
New Comment:
What was your ./configure line?
Previous Comments:
------------------------------------------------------------------------
[2005-12-06 18:15:13] lauris at nix dot lv
even if I su as apache user and run php cli it's working fine.
------------------------------------------------------------------------
[2005-12-06 18:11:38] lauris at nix dot lv
just tried running with php cli and it working. So whats wrong with my
configuration?
------------------------------------------------------------------------
[2005-12-06 18:07:01] [EMAIL PROTECTED]
Did you try it with PHP CLI ?
------------------------------------------------------------------------
[2005-12-06 18:02:42] lauris at nix dot lv
Just tried connecting to database when database name is in format
"//host:port/service_name" and now oci_connect returns false and also
oci_error returns false. Realy have no ideas what to do...
------------------------------------------------------------------------
[2005-12-06 17:47:22] lauris at nix dot lv
Did so and it did not help.
I have following enviroment variables set:
export ORACLE_SID=/opt/oracle/OraHome_1
export TNS_ADMIN=/opt/oracle/OraHome_1/network/admin
export ORACLE_OWNER=oracle
export ORACLE_HOME=/opt/oracle/OraHome_1
export PATH=$PATH:$ORACLE_HOME/bin/
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export NLS_LANG=LATVIAN_LATVIA.BLT8CP921
ls -la /opt/oracle/OraHome_1/network/admin/tnsnames.ora
-rw-r--r-- 1 oracle oracle 3207 Aug 25 19:23
/opt/oracle/OraHome_1/network/admin/tnsnames.ora
So tnsnames.ora is readable to all.
And still I'm getting the same error :(
What more info I can provide?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35572
--
Edit this bug report at http://bugs.php.net/?id=35572&edit=1