AW: [PHP] Oracle connection error...
| From: | Sebastian Stadtlich | Date: | Wed, 22 Nov 2000 16:13:02 +0000 |
| Subject: | AW: [PHP] Oracle connection error... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26652@lists.php.net to get a copy of this message | ||
you have not configured the oracle client tools properly.
you need to set up a the service name.
i never used solaris, but on NT the file is called tnsnames.ora
and pretty selfexplaining...
Sebastian
> -----Ursprüngliche Nachricht-----
> Von: Paulson, Joseph V. "Jay" [mailto:jay.paulson@viatel.com]
> Gesendet am: Mittwoch, 22. November 2000 17:07
> An: php-general@lists.php.net; php-db@lists.php.net
> Betreff: [PHP] Oracle connection error...
>
> Hello everyone--
> I am running PHP4.03pl1 on a SunOS (Solaris) sparc machine,
> Oracle client
> 8.1.6, and Apache 1.3.14 with the following configuration:
>
> './configure' '--with-apxs=/usr/sbin/apxs'
> '--with-config-file-path=/etc/httpd' '--with-xml'
> '--enable-trans-id'
> '--with-oci8=/export/home/oracle/u01/app/oracle/product/8.1.6'
>
> What is happening is that I can't connect to our Oracle
> database from this
> machine. I was wondering if anyone has run into this problem
> before and how
> did you fix it? The warning I am getting is below:
>
> Warning: _oci_open_server: ORA-12535: TNS:operation timed out in
> /httpd/php/application/application_dev_prod.php on line 28
>
> Thanks for any help...
> Jay Paulson
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>