简体   繁体   中英

Connect to Oracle Database 11g using PHP

How to connect to Oracle Database 11G using PHP?

I want to get an explanation about database cache because I want to test the response time of web application that builds database cache.

You connect to Oracle 11g as any other Oracle DB using oci_connect() function.

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

Php has no built in caching, but try to read about memcache or apc

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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