Home > Backend Development > PHP Tutorial > PHP remote connection oracle reports TNS: listener does not currently know of service

PHP remote connection oracle reports TNS: listener does not currently know of service

WBOY
Release: 2016-09-05 08:59:54
Original
1749 people have browsed it

  1. My local php connects to the remote oracle database. I downloaded the oracle client instantclient-basic-nt-11.2.0.2.0, configured the environment variables, enabled php_oci8 and php_oci8_11, restarted the computer and connected using Got the following error

<code>Warning: ocilogon() [function.ocilogon]: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor in D:\WWW\php-interface\sqlserver.php on line 53
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
</code>
Copy after login
Copy after login

Reply content:

  1. My local php connects to the remote oracle database. I downloaded the oracle client instantclient-basic-nt-11.2.0.2.0, configured the environment variables, enabled php_oci8 and php_oci8_11, restarted the computer and connected using Got the following error

<code>Warning: ocilogon() [function.ocilogon]: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor in D:\WWW\php-interface\sqlserver.php on line 53
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
</code>
Copy after login
Copy after login
Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template