Bug #2808: Setting ORACLE_HOME in php.ini
| From: | robert dot everett at wcom dot com | Date: | Tue, 23 Nov 1999 22:05:54 +0000 |
| Subject: | Bug #2808: Setting ORACLE_HOME in php.ini | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13019@lists.php.net to get a copy of this message | ||
From: robert.everett@wcom.com
Operating system: Solaris 2.6
PHP version: 3.0.12
PHP Bug Type: Oracle related
Bug description: Setting ORACLE_HOME in php.ini
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.