Re: setting OCI8 env vars under NT
| From: | Gérald Lacombe | Date: | Wed, 16 Aug 2000 11:10:00 +0000 |
| Subject: | Re: setting OCI8 env vars under NT | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1841@lists.php.net to get a copy of this message | ||
Hi,
Stas Trefilov wrote:
> Vince LaMonica wrote:
> > I want to connect to an Ora 7.3.4 db [on an NT server] using OCI8 [on my
> > NT laptop] functions via PHP4. I've successfully installed the php4win w/
> > OCI8 compiled in. However, I get errors when attempting to connect to the
> > database [error 12203 and 12154].
>
> Try to install oracle client libraries first on your machine, then connect
> through sqlplus (or some other oracle client tools) to your database. If
> you succeed you can then do it with php.
>
Well, i can connect to my database (running on a NT Server) from my NT
WorkStation with SQLPlus. I can connect to my Database with Apache
1.3.12/PHP3.0.16 and php_oci80.dll, but i cannot with Apache/PHP4.0.2dev and
php_oci8.dll. I have these two errors:
ORA-12560 when i use OCILogon('user','pwd'); // Warning: _oci_open_server:
ORA-12560: TNS:protocol adapter error
ORA-06401 when i use OCILogon('user','pwd','host'); // Warning:
_oci_open_server: ORA-06401: NETCMN
Do you have any idea ?
>
> --
> Stas Trefilov
> Moscow Russia
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net