时间:2021-07-01 10:21:17 帮助过:2人阅读
然后wamp->php->php extensions,勾选php_oci8_11g;
wampServer重启所有服务;
测试
<?php
//echo phpinfo();
$conn=oci_connect(‘orcl‘,‘orcl‘,‘192.168.0.200:1521/orcl‘);
if(!$conn){
$e=oci_error();
print htmlentities($e[‘message‘]);
exit;
}
print htmlentities("success");
wampServer连接oracle
标签: