ID: 35572
Updated by: tony2001@php.net
Reported By: lauris at nix dot lv
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: Mandriva Linux 2006
PHP Version: 5.1.1
New Comment:
So you've built OCI8 with Oracle server and it's pointless to use
"//host:port/service_name" syntax that is available only in Oracle
Instant Client.
Since it works in CLI -> not PHP oroblem, you have some mess with
environment variables and/or privileges.
Previous Comments:
------------------------------------------------------------------------
[2005-12-06 18:57:23] lauris at nix dot lv
recompiled with and it did not help
./configure \
--with-oci8=/opt/oracle/OraHome_1 \
--enable-sigchild
------------------------------------------------------------------------
[2005-12-06 18:52:14] lauris at nix dot lv
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
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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