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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC