Re: Still can't talk to the Oracle
| From: | Thies C. Arntzen | Date: | Fri, 16 Feb 2001 12:27:32 +0000 |
| Subject: | Re: Still can't talk to the Oracle | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40133@lists.php.net to get a copy of this message | ||
On Thu, Feb 15, 2001 at 06:43:41PM -0600, Richard Lynch wrote:
> ----- Original Message -----
> From: Kristofer Widholm <qit@bigfoot.com>
> Newsgroups: php.general
> Sent: Tuesday, February 13, 2001 5:29 PM
> Subject: [PHP] Still can't talk to the Oracle
>
>
> > I'm setting up a back end production system for a television show,
> > and have been given space on a development server with PHP 4 and
> > Oracle support compiled in (but not the OCI libraries). The Oracle
> > admin have given me my user name (let's say ora_user), a TNS name
> > (tns_name), and a password (ora_pass).
> >
> > So I write code as follows...
>
> You may need to set ORACLE_HOME etc in PHP's environment:
>
> SetEnv("ORACLE_HOME=/path/to/oracle/home/dir");
> SetEnv("ORACLE_GOD_KNOWS_WHAT_ELSE=/oracle/changes/it/every/release");
it is highly recommented to set _all_ oracle related
env-vars _before_ you start apache and _not_ in you script!
tc