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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
16 - 6 = ?
Subscribe to this entry?

 
 [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-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 17:01:24 2023 UTC