PATCH for 9i support (was Re: [PHP-DB] Re: Oracle 9i Support)
| From: | System Admin) | Date: | Thu, 26 Jul 2001 21:57:29 +0000 |
| Subject: | PATCH for 9i support (was Re: [PHP-DB] Re: Oracle 9i Support) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10815@lists.php.net to get a copy of this message | ||
Here is a patch that will allow configure to properly detect oracle 9i
If your mail server filters out attachments you can download it from
http://www.cba.ua.edu/~spaff/php-4.0.6-oci8-oracle9i.patch
The patch should be applied from directly outside of the php source
tree.
I am not a coder by any means so I hope this doesn't break anything.
-Lee
"Thies C. Arntzen" wrote:
>
> On Thu, Jul 26, 2001 at 02:21:02PM -0500, Lee Whatley (System Admin) wrote:
> >
> > If I try to use ocilogon("scott","tiger"); I get the following:
> > Warning: _oci_open_server: Error while trying to retrieve text for error
> > ORA-12546
> >
> > If its giving me an ORA-12546 error then I am assuming it is at least
> > trying to talk to the database. I guess it must be a library
> > incompatibility issue.
>
> no -
>
> 12546, 00000, "TNS:permission denied"
> // *Cause: User has insufficient privileges to perform the
> // requested operation.
> // *Action: Acquire necessary privileges and try again.
>
> please make sure that the user that runs apache can actually
> access $ORACLE_HOME and all needed files withing!
>
> tc
>
> >
> > "Thies C. Arntzen" wrote:
> > > if phpinfo says oci8 is included than it _is_. the libraries
> > > used thing might (and probably is) broken. just try calling
> > > ocilogon($user,$pw); and see what it does!
> > >
> > > tc