FW: [PHP] error connecting to oracle.
| From: | Faisal Abdullah | Date: | Mon, 28 Oct 2002 10:33:23 +0000 |
| Subject: | FW: [PHP] error connecting to oracle. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121670@lists.php.net to get a copy of this message | ||
>
>
> > -----Original Message-----
> > From: Gerald Roehrbein/Pctdmn [mailto:groehrbein@bigfoot.com]
> > Sent: Monday, October 28, 2002 10:50 AM
> > To: Subodh Gupta
> > Cc: php-general@lists.php.net
> > Subject: RE: [PHP] error connecting to oracle.
> >
> >
> >
> > Hello,
> >
> >
> > at Solaris and Windows NT it's first necessary to install the
> > Oracle Client
> > software
I think this goes for all operating systems. The libraries required
are in oracle itself. No oracle, no libraries.
> >and then to configure PHP properly the way it is documented!
> > I've done until know only three PHP installations with Oracle
> support but
> > all three installations where very simple!
> >
> > Remember you have to set the Oracle Environmentvariables ($ORACLE_BASE,
> > $ORACLE_HOME, $TNS<xyz>) before starting the WEB Server or PHP! For
> > apchache you can do this in apachectl or a subroutine you call from
> > apachectl.
Be sure to set the appropriate user and group (who has the environment
variables set) in httpd.conf
> >In a windows environment you have to set the variables
> > with the
> > appropriate tools (System/Environment/Add Variables)!
> >
> > In my cases this was everything to do. Try your Oracle Client
> > Installation
> > with tnsping and sqlplus at your machine! This should work
> before you try
> > to configure PHP.
> >
> > best regards
> > Gerald
> >
>
Regards,
Faisal
______________________________________