Home >Backend Development >PHP Tutorial >pdo oracle11g Express Edition

pdo oracle11g Express Edition

WBOY
WBOYOriginal
2016-06-23 13:41:331278browse

 这是phpinfo()输出信息:


oracle
Oracle Supportenabled Extension Version 0.1.0-dev
pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled
PCRE Library Version  7.6 2008-01-28

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

PDO
PDO support enabled
PDO drivers  sqlite, mysql, oci, sqlite2

pdo_mysql
PDO Driver for MySQL, client library version 5.0.51a

PDO_OCI
PDO Driver for OCI 8 and later enabled


可是就是连接不上:

Connection failed: SQLSTATE[HY000]: pdo_oci_handle_factory: ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务 (ext\pdo_oci\oci_driver.c:581)

求解!!!!


回复讨论(解决方案)

你至少需要给出 php 的相关代码

哦,问题以解决谢谢各位关注

请问是哪里不对呢?今天也遇到了这个问题,求大神解救!

Statement:
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
Previous article:php的floor函数问题Next article:PHP也能编译吗?