当前位置:Gxlcms > 数据库问题 > wampServer连接oracle

wampServer连接oracle

时间: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

标签:

人气教程排行