简体   繁体   English

使用PHP连接到Oracle Database 11g

[英]Connect to Oracle Database 11g using PHP

How to connect to Oracle Database 11G using PHP? 如何使用PHP连接到Oracle Database 11G?

I want to get an explanation about database cache because I want to test the response time of web application that builds database cache. 我想获得有关数据库缓存的说明,因为我想测试构建数据库缓存的Web应用程序的响应时间。

You connect to Oracle 11g as any other Oracle DB using oci_connect() function. 您可以使用oci_connect()函数像其他任何Oracle DB一样连接到Oracle 11g。

$conn = oci_connect('hr', 'welcome', 'localhost/XE');

Php has no built in caching, but try to read about memcache or apc PHP没有内置缓存,但请尝试阅读有关MemcacheAPC的信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM