php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2808 Setting ORACLE_HOME in php.ini
Submitted: 1999-11-23 23:05 UTC Modified: 2006-07-17 08:55 UTC
From: robert dot everett at wcom dot com Assigned:
Status: Not a bug Package: Oracle related
PHP Version: 3.0.12 OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: robert dot everett at wcom dot com
New email:
PHP Version: OS:

 

 [1999-11-23 23:05 UTC] robert dot everett at wcom dot com
PHP 3.0.12
Apache 1.3.9
Oracle 8.0.4
Solaris 2.6

ORACLE_HOME is being set in the httpd.conf file for Apache and is available to all
PHP scripts as a global variable.

However, it isn't recognized by the OCI functions. I still have to call putenv before
using any of the OCI functions:

putenv("ORACLE_HOME=".getenv("ORACLE_HOME"));

This seems a little odd.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-24 10:33 UTC] thies at cvs dot php dot net
settng ORACLE_HOME before starting the apache also works. 

this is nothing we can change - try filing a bug to oracle-support;-)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC