#35572 [Fbk->Opn]: Error while trying to retrieve text for error ORA-12154

From: Date: Tue, 06 Dec 2005 17:52:15 +0000
Subject: #35572 [Fbk->Opn]: Error while trying to retrieve text for error ORA-12154
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89837@lists.php.net to get a copy of this message
 ID:               35572
 User updated by:  lauris at nix dot lv
 Reported By:      lauris at nix dot lv
-Status:           Feedback
+Status:           Open
 Bug Type:         OCI8 related
 Operating System: Mandriva Linux 2006
 PHP Version:      5.1.1
 New Comment:

I built it using spec file where %{modname} is oci8

phpize
%configure2_5x \
    --with-%{modname}=/opt/oracle/OraHome_1/ \
    --enable-sigchild

so configure would look like:
phpize
./configure \
    --with-oci8=/opt/oracle/OraHome_1/ \
    --enable-sigchild


Previous Comments:
------------------------------------------------------------------------

[2005-12-06 18:33:14] tony2001@php.net

What was your ./configure line?

------------------------------------------------------------------------

[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] tony2001@php.net

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...

------------------------------------------------------------------------

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


Thread (13 messages)

« previous php.bugs (#89837) next »