ID:               24740
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rarteaga at icaro dot com dot ec
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         OCI8 related
 Operating System: Linux RH9 and RH7.3
 PHP Version:      4.3.3RC2-dev
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




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

[2003-08-20 23:52:13] [EMAIL PROTECTED]

What was the configure line used to configure PHP?


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

[2003-08-20 18:09:18] rarteaga at icaro dot com dot ec

As you can see in the detail of this bug report, I'm not running the
script from a webserver, that's why I put:

#!/usr/bin/php -q

to run it from the console like this:

./oracle.php

I get the result in the standar output.

Setting the relevant configuration variables in the script do work, if
I do not put this line for example:

putenv("ORACLE_HOME=/opt/oracle/product/9.2.0");

The script will simple tell me that ORACLE is not present and so on.

I understand that once the script works fine, I'll have to put the
correct env. variables so Apache knows ORACLE its present, mean while
putenv works just fine...

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

[2003-08-20 17:49:21] [EMAIL PROTECTED]

The environment variables has to be set in the shell prior to starting
your webserver. Setting them in a script has no effect whatsoever.


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

[2003-08-20 14:47:01] rarteaga at icaro dot com dot ec

Yes I've setted the relevant configuration variables. Among others I
have the most important one:

putenv("ORACLE_HOME=/opt/oracle/product/9.2.0");

I've tryed others about language, TNS NAMES, etc... None of them solved
the problem, As I said is working fine until you try to make a SELECT
in witch you have to get information from a varchar2() fields on the
table...

I've stopped using OCI8 extension for the moment, instead I'm using the
oracle extension (ora_Logon, ora_Execute, etc.) and its working fine, I
solved my problem so far. However OCI8 has a lot more special functions
I'm interested on using...

Best
Regards...

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

[2003-08-13 21:46:38] [EMAIL PROTECTED]

Have you set the relevant environment variables in the shell before you
run the script? (setting them inside the script does not work)


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

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/24740

-- 
Edit this bug report at http://bugs.php.net/?id=24740&edit=1

Reply via email to